summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
-rw-r--r--tests/CMakeLists.txt1
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3c9437..a65d3c3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,8 +45,7 @@ if(MSVC)
add_definitions(-DBOOST_ALL_DYN_LINK) #setup boost auto-linking in msvc
endif(MSVC)
-file(TO_NATIVE_PATH "${CMAKE_INSTALL_PREFIX}" GRAS_ROOT)
-STRING(REPLACE "\\" "\\\\" GRAS_ROOT ${GRAS_ROOT})
+set(GRAS_ROOT "${CMAKE_INSTALL_PREFIX}")
########################################################################
# Component names for install rules
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 3c82320..61d0146 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -64,7 +64,6 @@ target_link_libraries(example_module ${GRAS_LIBRARIES})
get_target_property(example_module_location example_module LOCATION)
string(REPLACE "$(Configuration)" ${CMAKE_BUILD_TYPE} example_module_location ${example_module_location})
-file(TO_NATIVE_PATH "${example_module_location}" example_module_location)
message(STATUS "example_module_location: ${example_module_location}")
list(APPEND GR_TEST_ENVIRONS "GRAS_MODULE_PATH=${example_module_location}")