summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-20 05:51:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 22:47:06 +0100
commit4704f0f2ecd68fd0ec71f6a08f5a76d173ee43c7 (patch)
tree3b6e167aa31ae100ee04dd2ff61ca217313b8e5c
parent28f193fff2b96bef5a7f36f60718475da82c4e9e (diff)
cmake: recompile .rc on .ico change
-rw-r--r--opentrack/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/CMakeLists.txt b/opentrack/CMakeLists.txt
index 7a83beb6..9bf5cb9b 100644
--- a/opentrack/CMakeLists.txt
+++ b/opentrack/CMakeLists.txt
@@ -11,4 +11,6 @@ set_target_properties(opentrack-executable PROPERTIES
PREFIX ""
)
+set_source_files_properties(resources.rc OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/opentrack.ico")
+
target_link_libraries(${self} opentrack-user-interface opentrack-version)