@ -33,6 +33,10 @@ set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE} CACHE STRING "")
list ( APPEND CMAKE_MODULE_PATH ${ CMAKE_SOURCE_DIR } /cmake/Modules )
list ( APPEND CMAKE_MODULE_PATH ${ CMAKE_SOURCE_DIR } /cmake/Modules )
if ( NOT LIB_INSTALL_DIR )
set ( LIB_INSTALL_DIR lib )
endif ( )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# C o m p i l e r s p e c i f i c s e t u p
# C o m p i l e r s p e c i f i c s e t u p
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
@ -130,7 +134,7 @@ ENDIF(CMAKE_CROSSCOMPILING)
set ( prefix ${ CMAKE_INSTALL_PREFIX } )
set ( prefix ${ CMAKE_INSTALL_PREFIX } )
set ( exec_prefix \${prefix})
set ( exec_prefix \${prefix})
set ( libdir \${exec_prefix}/lib )
set ( libdir \${exec_prefix}/${LIB_INSTALL_DIR} )
set ( includedir \${prefix}/include)
set ( includedir \${prefix}/include)
CONFIGURE_FILE (
CONFIGURE_FILE (
@ -140,5 +144,5 @@ CONFIGURE_FILE(
INSTALL (
INSTALL (
F I L E S $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / l i b r t l s d r . p c
F I L E S $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / l i b r t l s d r . p c
D E S T I N A T I O N l i b / p k g c o n f i g
D E S T I N A T I O N $ { L I B _ I N S T A L L _ D I R } / p k g c o n f i g
)
)