[cmake] Fix Windows build with spaces in build dir

This commit is contained in:
Matthias Hochsteger 2019-12-10 17:01:44 +00:00
parent 8012b3ebba
commit 19124f8d30

View File

@ -198,7 +198,7 @@ ExternalProject_Add (netgen
)
install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" --build . --target install --config ${CMAKE_BUILD_TYPE} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/netgen)")
install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" --build . --target install --config ${CMAKE_BUILD_TYPE} WORKING_DIRECTORY \"${CMAKE_CURRENT_BINARY_DIR}/netgen\")")
add_custom_target(test_netgen
${CMAKE_COMMAND} --build ${CMAKE_CURRENT_BINARY_DIR}/netgen