@ -3,10 +3,10 @@
# A r g u m e n t : n a m e - t h e n a m e o f t h e . p c p a c k a g e , e . g . " n e l - p a c s . p c "
# # #
MACRO ( NL_GEN_PC name )
IF ( NOT WIN32 )
IF ( NOT WIN32 AND WITH_INSTALL_LIBRARIES )
CONFIGURE_FILE ( ${ name } .in "${CMAKE_CURRENT_BINARY_DIR}/${name}" )
INSTALL ( FILES "${CMAKE_CURRENT_BINARY_DIR}/${name}" DESTINATION lib/pkgconfig )
ENDIF ( NOT WIN32 )
ENDIF ( NOT WIN32 AND WITH_INSTALL_LIBRARIES )
ENDMACRO ( NL_GEN_PC )
# # #
@ -184,6 +184,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
OPTION ( WITH_EXTERNAL "With provided external." OFF )
ENDIF ( WIN32 )
OPTION ( WITH_STATIC_EXTERNAL "With static external libraries" OFF )
OPTION ( WITH_INSTALL_LIBRARIES "Install development files." ON )
# # #
# G U I t o o l k i t s
@ -480,7 +481,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
IF ( WIN32 )
SET ( RYZOM_ETC_PREFIX "." CACHE PATH "Installation path for configurations" )
ELSE ( WIN32 )
SET ( RYZOM_ETC_PREFIX "${ CMAKE_INSTALL _PREFIX}/etc/ryzom" CACHE PATH "Installation path for configurations" )
SET ( RYZOM_ETC_PREFIX "${ RYZOM _PREFIX}/etc/ryzom" CACHE PATH "Installation path for configurations" )
ENDIF ( WIN32 )
ENDIF ( NOT RYZOM_ETC_PREFIX )
@ -489,7 +490,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
IF ( WIN32 )
SET ( RYZOM_SHARE_PREFIX "." CACHE PATH "Installation path for data." )
ELSE ( WIN32 )
SET ( RYZOM_SHARE_PREFIX "${CMAKE_INSTALL _PREFIX}/share/ryzom" CACHE PATH "Installation path for data." )
SET ( RYZOM_SHARE_PREFIX "${RYZOM _PREFIX}/share/ryzom" CACHE PATH "Installation path for data." )
ENDIF ( WIN32 )
ENDIF ( NOT RYZOM_SHARE_PREFIX )
@ -498,7 +499,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
IF ( WIN32 )
SET ( RYZOM_SBIN_PREFIX "." CACHE PATH "Installation path for admin tools and services." )
ELSE ( WIN32 )
SET ( RYZOM_SBIN_PREFIX "${CMAKE_INSTALL _PREFIX}/sbin" CACHE PATH "Installation path for admin tools and services." )
SET ( RYZOM_SBIN_PREFIX "${RYZOM _PREFIX}/sbin" CACHE PATH "Installation path for admin tools and services." )
ENDIF ( WIN32 )
ENDIF ( NOT RYZOM_SBIN_PREFIX )
@ -507,7 +508,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
IF ( WIN32 )
SET ( RYZOM_BIN_PREFIX "." CACHE PATH "Installation path for tools and applications." )
ELSE ( WIN32 )
SET ( RYZOM_BIN_PREFIX "${CMAKE_INSTALL _PREFIX}/bin" CACHE PATH "Installation path for tools." )
SET ( RYZOM_BIN_PREFIX "${RYZOM _PREFIX}/bin" CACHE PATH "Installation path for tools." )
ENDIF ( WIN32 )
ENDIF ( NOT RYZOM_BIN_PREFIX )
@ -516,7 +517,7 @@ MACRO(RYZOM_SETUP_PREFIX_PATHS)
IF ( WIN32 )
SET ( RYZOM_GAMES_PREFIX "." CACHE PATH "Installation path for tools and applications." )
ELSE ( WIN32 )
SET ( RYZOM_GAMES_PREFIX "${CMAKE_INSTALL _PREFIX}/games" CACHE PATH "Installation path for client." )
SET ( RYZOM_GAMES_PREFIX "${RYZOM _PREFIX}/games" CACHE PATH "Installation path for client." )
ENDIF ( WIN32 )
ENDIF ( NOT RYZOM_GAMES_PREFIX )