Changed the default value of SFML_INSTALL_PKGCONFIG_FILES to FALSE (the generated pkg-config files contain local paths and thus are not suitable for distribution)

This commit is contained in:
Laurent Gomila 2013-08-04 20:40:10 +02:00
parent 6c1899d0f7
commit 93b2152a08

View File

@ -105,7 +105,7 @@ endif()
if(LINUX) if(LINUX)
if(BUILD_SHARED_LIBS) if(BUILD_SHARED_LIBS)
sfml_set_option(SFML_INSTALL_PKGCONFIG_FILES TRUE BOOL "TRUE to automatically install pkg-config files so other projects can find SFML") sfml_set_option(SFML_INSTALL_PKGCONFIG_FILES FALSE BOOL "TRUE to automatically install pkg-config files so other projects can find SFML")
if(SFML_INSTALL_PKGCONFIG_FILES) if(SFML_INSTALL_PKGCONFIG_FILES)
foreach(sfml_module IN ITEMS all system window graphics audio network) foreach(sfml_module IN ITEMS all system window graphics audio network)
CONFIGURE_FILE( CONFIGURE_FILE(