diff options
author | Josh Blum | 2013-07-27 19:04:23 -0700 |
---|---|---|
committer | Josh Blum | 2013-07-27 19:04:23 -0700 |
commit | 9ee559e8be429e6ca18858de668289cf66e19a0f (patch) | |
tree | 491c0a26bb71afbabb15bb5b60985b460028da4d | |
parent | 7a677f768094fecfbb04e7b803c99cc2787153a2 (diff) | |
download | sandhi-9ee559e8be429e6ca18858de668289cf66e19a0f.tar.gz sandhi-9ee559e8be429e6ca18858de668289cf66e19a0f.tar.bz2 sandhi-9ee559e8be429e6ca18858de668289cf66e19a0f.zip |
gras: dont need native path here, boost fs can handle it
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 1 |
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}") |