From 9ee559e8be429e6ca18858de668289cf66e19a0f Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 27 Jul 2013 19:04:23 -0700 Subject: gras: dont need native path here, boost fs can handle it --- CMakeLists.txt | 3 +-- tests/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 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}") -- cgit