Skip to content

Commit cdd25fc

Browse files
committed
update disconnected
1 parent c141014 commit cdd25fc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.15...3.28)
1+
cmake_minimum_required(VERSION 3.19...3.28)
22

33
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
44
message(FATAL_ERROR "In-source builds are not allowed. Do like:

options.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ if(nc4fortran_IS_TOP_LEVEL AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
1515
set(CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR}/local CACHE PATH "Install top-level directory" FORCE)
1616
endif()
1717

18+
set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)
19+
1820
# Necessary for shared library with Visual Studio / Windows oneAPI
1921
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS true)

0 commit comments

Comments
 (0)