summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-20 05:51:56 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-01-23 14:16:34 +0100
commit223c4f27aa4c3b2295b558011665796d64dd6ed8 (patch)
tree5c16f00b3634f933c6a8062a9dd64019b4aeb704
parent6f668b63c82209c96d1933f7ecd4bb81b66a7fc0 (diff)
[MERGE] 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)