diff --git a/cmake/staqConfig.cmake.in b/cmake/staqConfig.cmake.in index 449763c..2484225 100644 --- a/cmake/staqConfig.cmake.in +++ b/cmake/staqConfig.cmake.in @@ -1,6 +1,6 @@ @PACKAGE_INIT@ -set(STAQ_INSTALL_DIR @STAQ_INSTALL_DIR@) +set(STAQ_INSTALL_DIR "@STAQ_INSTALL_DIR@") include("${CMAKE_CURRENT_LIST_DIR}/staq_targets.cmake") include("${CMAKE_CURRENT_LIST_DIR}/staq_msvc.cmake") message(STATUS "Found staq's source code in @STAQ_INSTALL_DIR@") diff --git a/cmake/staq_msvc.cmake b/cmake/staq_msvc.cmake index 7ca7fd3..4120450 100644 --- a/cmake/staq_msvc.cmake +++ b/cmake/staq_msvc.cmake @@ -3,7 +3,6 @@ if (MSVC) message(STATUS "MSVC -- including the cmake") include_directories(SYSTEM ${CMAKE_INSTALL_PREFIX}/include/staq/third_party/pthreadwin32) - message(WARNING ${CMAKE_INSTALL_PREFIX}) message(WARNING ${STAQ_INSTALL_DIR}) add_compile_options(-bigobj) add_compile_definitions(NOMINMAX)