diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2beca13..ce9410e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -101,12 +101,12 @@ if(BUILD_CHIAVDFC) set_target_properties(chiavdfc_shared PROPERTIES OUTPUT_NAME chiavdfc - LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/shared" - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/shared" + LIBRARY_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/lib/shared>" + RUNTIME_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/lib/shared>" ) set_target_properties(chiavdfc_static PROPERTIES OUTPUT_NAME chiavdfc - ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/static" + ARCHIVE_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/lib/static>" ) endif()