Skip to content

Commit

Permalink
#2: - change CMakeLists.txt to the one from master
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinwrobel1986 committed Jan 28, 2022
1 parent dfbfc9a commit c951d28
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)

#==================================

find_package(yaml-cpp REQUIRED)
message(STATUS ${YAML_CPP_INCLUDE_DIR})
include_directories(${YAML_CPP_INCLUDE_DIR})
find_package(yaml-cpp REQUIRED HINTS ${YAMLCPP_DIR})
include_directories(${YAMLCPP_DIR}/include)

if(EXISTS "${YAMLCPP_DIR}/lib64/libyaml-cpp.a")
set(YAML_CPP_LIBRARIES ${YAMLCPP_DIR}/lib64/libyaml-cpp.a)
Expand Down

0 comments on commit c951d28

Please sign in to comment.