diff options
Diffstat (limited to 'visualization/CMakeLists.txt')
-rw-r--r-- | visualization/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/visualization/CMakeLists.txt b/visualization/CMakeLists.txt index bc7d568..678f4a7 100644 --- a/visualization/CMakeLists.txt +++ b/visualization/CMakeLists.txt @@ -8,7 +8,9 @@ set(visualization_SOURCES ) if(WIN32) - list(APPEND visualization_SOURCES visualization.rc) + get_filename_component(CURRENT_SUBPROJECT ${CMAKE_CURRENT_SOURCE_DIR} NAME) + configure_file("visualization.rc.in" "visualization.rc" @ONLY) + list(APPEND visualization_SOURCES ${CMAKE_CURRENT_BINARY_DIR}/visualization.rc) endif(WIN32) set(BUILD_DUMB ON) |