Skip to content

Commit

Permalink
Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Mar 30, 2024
2 parents 249fb52 + bf823b8 commit 5756047
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
14 changes: 10 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.23)

# set the project name
project(mkdssp VERSION 4.4.6 LANGUAGES CXX)
project(mkdssp VERSION 4.4.7 LANGUAGES CXX)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

include(CTest)
include(FetchContent)
include(VersionString)

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
Expand Down Expand Up @@ -97,8 +96,11 @@ endif()
set(CMAKE_THREAD_PREFER_PTHREAD)
set(THREADS_PREFER_PTHREAD_FLAG)
find_package(Threads)
find_package(libmcfp QUIET)

if(NOT libmcfp_FOUND)
include(FetchContent)

if(NOT PDB_REDO_META)
if(CMAKE_VERSION GREATER_EQUAL 3.28)
set(EXLC "EXCLUDE_FROM_ALL")
endif()
Expand All @@ -110,7 +112,11 @@ if(NOT PDB_REDO_META)
GIT_TAG v1.3.1)

FetchContent_MakeAvailable(libmcfp)
endif()

find_package(cifpp 7 QUIET)

if(NOT cifpp_FOUND)
set(CIFPP_DOWNLOAD_CCD OFF)

FetchContent_Declare(
Expand Down
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Version 4.4.7
- Fix cmakefile to use system installed libraries by default

Version 4.4.6
- Update dependency on libcifpp to version 7

Expand Down

0 comments on commit 5756047

Please sign in to comment.