Skip to content

Commit

Permalink
update libmcfp dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 22, 2025
1 parent eb712e9 commit 70ac0f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,22 @@ endif()
set(CMAKE_THREAD_PREFER_PTHREAD)
set(THREADS_PREFER_PTHREAD_FLAG)
find_package(Threads)
find_package(libmcfp QUIET)
find_package(mcfp QUIET)

if(NOT (libmcfp_FOUND OR TARGET libmcfp))
if(NOT (mcfp_FOUND OR TARGET mcfp))
include(FetchContent)

if(CMAKE_VERSION GREATER_EQUAL 3.28)
set(EXLC "EXCLUDE_FROM_ALL")
endif()

FetchContent_Declare(
libmcfp
mcfp
${EXLC}
GIT_REPOSITORY https://github.com/mhekkel/libmcfp
GIT_REPOSITORY https://github.com/mhekkel/mcfp
GIT_TAG v1.3.1)

FetchContent_MakeAvailable(libmcfp)
FetchContent_MakeAvailable(mcfp)
endif()

if(NOT TARGET cifpp AND NOT cifpp_FOUND)
Expand Down Expand Up @@ -141,7 +141,7 @@ add_subdirectory(libdssp)

add_executable(mkdssp ${CMAKE_CURRENT_SOURCE_DIR}/src/mkdssp.cpp)

target_link_libraries(mkdssp PRIVATE libmcfp::libmcfp dssp::dssp)
target_link_libraries(mkdssp PRIVATE mcfp::mcfp dssp::dssp)

if(USE_RSRC)
mrc_target_resources(mkdssp
Expand Down

0 comments on commit 70ac0f7

Please sign in to comment.