mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fix for data dir path on windows
This commit is contained in:
1 parent
cf777ec09c
commit
51f26f9483
1 file changed
+2
-2
@@ -11,7 +11,7 @@ add_library(Catch2::Catch2 ALIAS Catch2)
|
||||
include(Catch)
|
||||
|
||||
add_library(test_catch2_common INTERFACE)
|
||||
target_compile_definitions(test_catch2_common INTERFACE TEST_DATA_DIR="${TEST_DATA_DIR}")
|
||||
target_compile_definitions(test_catch2_common INTERFACE TEST_DATA_DIR=R"\(${TEST_DATA_DIR}\)")
|
||||
target_link_libraries(test_catch2_common INTERFACE Catch2::Catch2)
|
||||
|
||||
add_library(test_common INTERFACE)
|
||||
@@ -24,7 +24,7 @@ target_link_libraries(test_common INTERFACE test_catch2_common)
|
||||
# DEPRECATED:
|
||||
find_package(GTest REQUIRED)
|
||||
add_library(test_gtest_common INTERFACE)
|
||||
target_compile_definitions(test_gtest_common INTERFACE TEST_DATA_DIR="${TEST_DATA_DIR}")
|
||||
target_compile_definitions(test_gtest_common INTERFACE TEST_DATA_DIR=R"\(${TEST_DATA_DIR}\)")
|
||||
target_link_libraries(test_gtest_common INTERFACE GTest::GTest GTest::Main)
|
||||
|
||||
add_subdirectory(libnest2d)
|
||||
|
||||
Reference in new issue
Block a user