blob: 1a098db566ffc4057ca261f4a6b9a1b9f1ab6f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/desktop_version/CMakeLists.txt
+++ b/desktop_version/CMakeLists.txt
@@ -293,6 +293,8 @@
endif()
target_link_libraries(VVVVVV physfs-static tinyxml2-static lodepng-static)
+ cmake_path(GET CMAKE_SOURCE_DIR PARENT_PATH REPO_DIR)
+ target_compile_options(physfs-static PRIVATE "-ffile-prefix-map=${REPO_DIR}=.")
else()
find_package(utf8cpp CONFIG)
|