Fixed SET_SOURCE_FILES_PROPERTIES in CMakefile for wxWidgets test app.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 20 Apr 2009 23:41:27 -0400
changeset 992 65f29e70a322
parent 991 9748fd040468
child 993 e8ba2577ac1f
Fixed SET_SOURCE_FILES_PROPERTIES in CMakefile for wxWidgets test app.
CMakeLists.txt
--- a/CMakeLists.txt	Thu Apr 16 22:37:38 2009 -0400
+++ b/CMakeLists.txt	Mon Apr 20 23:41:27 2009 -0400
@@ -352,7 +352,7 @@
     IF(wxWidgets_FOUND)
         INCLUDE(${wxWidgets_USE_FILE})
         ADD_EXECUTABLE(wxtest_physfs test/wxtest_physfs.cpp)
-        SET_SOURCE_FILES_PROPERTIES(test/wxtest_physfs.cpp COMPILE_FLAGS ${wxWidgets_CXX_FLAGS})
+        SET_SOURCE_FILES_PROPERTIES(test/wxtest_physfs.cpp PROPERTIES COMPILE_FLAGS "${wxWidgets_CXX_FLAGS}")
         TARGET_LINK_LIBRARIES(wxtest_physfs ${PHYSFS_LIB_TARGET} ${wxWidgets_LIBRARIES} ${OTHER_LDFLAGS})
         SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";wxtest_physfs")
     ELSE(wxWidgets_FOUND)