CMakeLists.txt
changeset 992 65f29e70a322
parent 991 9748fd040468
child 993 e8ba2577ac1f
equal deleted inserted replaced
991:9748fd040468 992:65f29e70a322
   350     SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
   350     SET(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)
   351     FIND_PACKAGE(wxWidgets)
   351     FIND_PACKAGE(wxWidgets)
   352     IF(wxWidgets_FOUND)
   352     IF(wxWidgets_FOUND)
   353         INCLUDE(${wxWidgets_USE_FILE})
   353         INCLUDE(${wxWidgets_USE_FILE})
   354         ADD_EXECUTABLE(wxtest_physfs test/wxtest_physfs.cpp)
   354         ADD_EXECUTABLE(wxtest_physfs test/wxtest_physfs.cpp)
   355         SET_SOURCE_FILES_PROPERTIES(test/wxtest_physfs.cpp COMPILE_FLAGS ${wxWidgets_CXX_FLAGS})
   355         SET_SOURCE_FILES_PROPERTIES(test/wxtest_physfs.cpp PROPERTIES COMPILE_FLAGS "${wxWidgets_CXX_FLAGS}")
   356         TARGET_LINK_LIBRARIES(wxtest_physfs ${PHYSFS_LIB_TARGET} ${wxWidgets_LIBRARIES} ${OTHER_LDFLAGS})
   356         TARGET_LINK_LIBRARIES(wxtest_physfs ${PHYSFS_LIB_TARGET} ${wxWidgets_LIBRARIES} ${OTHER_LDFLAGS})
   357         SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";wxtest_physfs")
   357         SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";wxtest_physfs")
   358     ELSE(wxWidgets_FOUND)
   358     ELSE(wxWidgets_FOUND)
   359         MESSAGE(STATUS "wxWidgets not found. Disabling wx test app.")
   359         MESSAGE(STATUS "wxWidgets not found. Disabling wx test app.")
   360         SET(PHYSFS_BUILD_WX_TEST FALSE)
   360         SET(PHYSFS_BUILD_WX_TEST FALSE)