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 a0f7beb commit dfbfc9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ find_package(yaml-cpp REQUIRED)
message(STATUS ${YAML_CPP_INCLUDE_DIR})
include_directories(${YAML_CPP_INCLUDE_DIR})

find_package(KokkosKernels REQUIRED)
if(EXISTS "${YAMLCPP_DIR}/lib64/libyaml-cpp.a")
set(YAML_CPP_LIBRARIES ${YAMLCPP_DIR}/lib64/libyaml-cpp.a)
endif()
if(EXISTS "${YAMLCPP_DIR}/lib/libyaml-cpp.a")
set(YAML_CPP_LIBRARIES ${YAMLCPP_DIR}/lib/libyaml-cpp.a)
endif()

find_package(KokkosKernels REQUIRED HINTS ${KOKKOSKERNELS_DIR})

# executables
add_executable(
Expand Down

0 comments on commit dfbfc9a

Please sign in to comment.