diff options
Diffstat (limited to 'lib/configuration/CMakeLists.txt')
-rw-r--r-- | lib/configuration/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/configuration/CMakeLists.txt b/lib/configuration/CMakeLists.txt index dc5bf6d..581e1eb 100644 --- a/lib/configuration/CMakeLists.txt +++ b/lib/configuration/CMakeLists.txt @@ -6,11 +6,7 @@ set(CMAKE_AUTOMOC ON) #set(CMAKE_AUTOUIC ON) #set(CMAKE_AUTORCC ON) -if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") - configure_file(defaults.h.win32 ${PROJECT_BINARY_DIR}/lib/configuration/defaults.h) -else() - configure_file(defaults.h.linux ${PROJECT_BINARY_DIR}/lib/configuration/defaults.h) -endif() +configure_file(defaults.h.in ${PROJECT_BINARY_DIR}/lib/configuration/defaults.h) add_library(configuration configuration.cpp |