Disable targets which are not needed.

This commit is contained in:
rude
2013-09-28 01:32:47 +02:00
parent 283a50aba9
commit 63865e5a72
15 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -281,7 +281,7 @@ IF(PHYSFS_BUILD_STATIC)
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs-static")
ENDIF(PHYSFS_BUILD_STATIC)
OPTION(PHYSFS_BUILD_SHARED "Build shared library" TRUE)
OPTION(PHYSFS_BUILD_SHARED "Build shared library" FALSE)
IF(PHYSFS_BUILD_SHARED)
ADD_LIBRARY(physfs SHARED ${PHYSFS_SRCS})
SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
@@ -302,7 +302,7 @@ IF(PHYSFS_BUILD_SHARED AND PHYSFS_BUILD_STATIC)
SET_TARGET_PROPERTIES(physfs-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
ENDIF(PHYSFS_BUILD_SHARED AND PHYSFS_BUILD_STATIC)
OPTION(PHYSFS_BUILD_TEST "Build stdio test program." TRUE)
OPTION(PHYSFS_BUILD_TEST "Build stdio test program." FALSE)
MARK_AS_ADVANCED(PHYSFS_BUILD_TEST)
IF(PHYSFS_BUILD_TEST)
FIND_PATH(READLINE_H readline/readline.h)