We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d460a10 commit a13550fCopy full SHA for a13550f
options.cmake
@@ -12,7 +12,7 @@ option(CMAKE_TLS_VERIFY "Verify TLS certificates when downloading libraries" ON)
12
if(nc4fortran_IS_TOP_LEVEL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
13
# will not take effect without FORCE
14
# CMAKE_BINARY_DIR in case it's used from FetchContent
15
- set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/local CACHE PATH "Install top-level directory" FORCE)
+ set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/local CACHE PATH "Install top-level directory" FORCE)
16
endif()
17
18
set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)
0 commit comments