Skip to content

Commit

Permalink
default install prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 8, 2024
1 parent d460a10 commit a13550f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ option(CMAKE_TLS_VERIFY "Verify TLS certificates when downloading libraries" ON)
if(nc4fortran_IS_TOP_LEVEL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
# will not take effect without FORCE
# CMAKE_BINARY_DIR in case it's used from FetchContent
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)
endif()

set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)
Expand Down

0 comments on commit a13550f

Please sign in to comment.