diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-20 05:51:56 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-01-23 14:16:34 +0100 |
commit | 223c4f27aa4c3b2295b558011665796d64dd6ed8 (patch) | |
tree | 5c16f00b3634f933c6a8062a9dd64019b4aeb704 | |
parent | 6f668b63c82209c96d1933f7ecd4bb81b66a7fc0 (diff) |
[MERGE] cmake: recompile .rc on .ico change
-rw-r--r-- | opentrack/CMakeLists.txt | 2 |
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) |