From: Arvid Norlander Date: Fri, 1 Jan 2010 22:52:49 +0000 (+0000) Subject: Fix right files to depend on version.h. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=87a5f56269776073605e5db77e9e99a1881c865c;p=supertux.git Fix right files to depend on version.h. SVN-Revision: 6249 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fde724fbe..e527a9c28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,9 +137,12 @@ ENDIF(SVNVERSION_EXECUTABLE) SET_SOURCE_FILES_PROPERTIES(${CMAKE_BINARY_DIR}/version.h PROPERTIES GENERATED true) -SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp +SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/src/supertux/main.cpp + PROPERTIES OBJECT_DEPENDS "${CMAKE_BINARY_DIR}/version.h") +SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/src/supertux/title_screen.cpp + PROPERTIES OBJECT_DEPENDS "${CMAKE_BINARY_DIR}/version.h") +SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/src/addon/addon_manager.cpp PROPERTIES OBJECT_DEPENDS "${CMAKE_BINARY_DIR}/version.h") - ## Check platform-dependent build options INCLUDE(ConfigureChecks)