diff --git a/libzork/libzork/CMakeLists.txt b/libzork/libzork/CMakeLists.txt index b61e838..65f00a1 100644 --- a/libzork/libzork/CMakeLists.txt +++ b/libzork/libzork/CMakeLists.txt @@ -38,16 +38,22 @@ set(CMAKE_BINARY_DIR build/) # Import yaml-cpp -include(FetchContent) +# Bon la mouli casse les couilles ENCORE UNE FOIS donc ça ça marche pas +# +# include(FetchContent) -FetchContent_Declare( - yaml-cpp - GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git - # GIT_TAG -) -FetchContent_MakeAvailable(yaml-cpp) +# FetchContent_Declare( +# yaml-cpp +# GIT_REPOSITORY https://github.com/jbeder/yaml-cpp.git +# # GIT_TAG +# ) +# FetchContent_MakeAvailable(yaml-cpp) +# +# target_link_libraries(zork PUBLIC yaml-cpp::yaml-cpp) + +find_library(yaml-cpp yaml-cpp) +target_link_libraries(zork PUBLIC yaml-cpp) -target_link_libraries(zork PUBLIC yaml-cpp::yaml-cpp) target_link_options(zork PUBLIC -Wl,--no-undefined)