diff options
author | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-04 20:56:57 +0000 |
---|---|---|
committer | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-04 20:56:57 +0000 |
commit | cdd9680b20f0922417bcc0ce38a72361f391d90d (patch) | |
tree | 7baf06abd0cd19ec53212e3c4d59fdf3b8eef402 | |
parent | d098090f03d45e875f6aad64f0d646c167de7380 (diff) |
Make path relative
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 148d9f08..b2f42b65 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -406,7 +406,7 @@ ssvoh_find_extlib_for_target(SSVOpenHexagonLib SSVStart) target_link_libraries(SSVOpenHexagon SSVOpenHexagonLib SSVOpenHexagonLibC) if(WIN32 AND "${vrm_cmake_build_type_lower}" STREQUAL "release") - target_link_libraries(SSVOpenHexagon "C:/OHWorkspace/SSVOpenHexagon/art/icon.res" sfml-main) + target_link_libraries(SSVOpenHexagon "${CMAKE_SOURCE_DIR}/art/icon.res" sfml-main) target_compile_options(SSVOpenHexagon PRIVATE "-Wl,-subsystem,windows") endif() |