* Sync up to trunk HEAD (r62286).
[reactos.git] / base / applications / games / spider / CMakeLists.txt
index 83660dd..a74233e 100644 (file)
@@ -5,13 +5,14 @@ include_directories(
     ${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib
     ${CMAKE_CURRENT_SOURCE_DIR})
 
-add_executable(spider
+list(APPEND SOURCE
     spider.cpp
     spigame.cpp
-    rsrc.rc)
+    spider.h)
 
+add_executable(spider ${SOURCE} rsrc.rc)
 target_link_libraries(spider cardlib)
-add_pch(spider spider.h)
+add_pch(spider spider.h SOURCE)
 set_module_type(spider win32gui UNICODE)
 add_importlibs(spider advapi32 comctl32 user32 gdi32 msvcrt kernel32)
 add_cd_file(TARGET spider DESTINATION reactos/system32 FOR all)