aboutsummaryrefslogtreecommitdiff
path: root/simple-visualization/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'simple-visualization/CMakeLists.txt')
-rw-r--r--simple-visualization/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/simple-visualization/CMakeLists.txt b/simple-visualization/CMakeLists.txt
index 689dd99..9966c31 100644
--- a/simple-visualization/CMakeLists.txt
+++ b/simple-visualization/CMakeLists.txt
@@ -8,7 +8,9 @@ set(simple-visualization_SOURCES
)
if(WIN32)
- list(APPEND simple-visualization_SOURCES simple-visualization.rc)
+ get_filename_component(CURRENT_SUBPROJECT ${CMAKE_CURRENT_SOURCE_DIR} NAME)
+ configure_file("simple-visualization.rc.in" "simple-visualization.rc" @ONLY)
+ list(APPEND simple-visualization_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/simple-visualization.rc)
endif(WIN32)
set(CMAKE_AUTOMOC ON)