Skip to content
Permalink
Browse files
Whoops, switched two strings in CMakeLists.txt
  • Loading branch information
icculus committed Mar 19, 2007
1 parent 733f59c commit 2caa3b94e3ffb8124800b8bcca5f4d1610f23ac9
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG.txt
  2. +2 −2 CMakeLists.txt
@@ -2,6 +2,7 @@
* CHANGELOG.
*/

03192007 - Fixed two switched strings in CMakeLists.txt
03162007 - Changed PHYSFS_file from a typedef to a #define (in case it would
cause an aggressive compiler to think you're passing the wrong type
to a function) and added Doxygen comments to explain it.
@@ -268,7 +268,7 @@ IF(PHYSFS_BUILD_STATIC)
ADD_LIBRARY(physfs-static STATIC ${PHYSFS_SRCS})
SET_TARGET_PROPERTIES(physfs-static PROPERTIES OUTPUT_NAME "physfs")
SET(PHYSFS_LIB_TARGET physfs-static)
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs-static")
ENDIF(PHYSFS_BUILD_STATIC)

OPTION(PHYSFS_BUILD_SHARED "Build shared library" TRUE)
@@ -278,7 +278,7 @@ IF(PHYSFS_BUILD_SHARED)
SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
SET(PHYSFS_LIB_TARGET physfs)
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs-static")
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
ENDIF(PHYSFS_BUILD_SHARED)

IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)

0 comments on commit 2caa3b9

Please sign in to comment.