Skip to content

Commit

Permalink
gras: dont need native path here, boost fs can handle it
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofquality committed Jul 28, 2013
1 parent 7a677f7 commit 9ee559e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 9ee559e

Please sign in to comment.