Skip to content

Commit

Permalink
CSV2 add do dependencies: #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Artiom N. committed Nov 19, 2024
1 parent cf03621 commit de15688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ endif()
# Kaspersky Neuromorphic Platform build option set.
#

# Build is not from source directory, it is possible to specify it via add_subdirectory().
if (NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(KNP_BUILD_AUTONOMOUS FALSE)
else()
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
set(KNP_BUILD_AUTONOMOUS TRUE)
else()
# Build is not from source directory, it is possible to specify it via add_subdirectory().
set(KNP_BUILD_AUTONOMOUS FALSE)
endif()

if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
Expand Down
2 changes: 1 addition & 1 deletion knp/base-framework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ knp_add_library("${PROJECT_NAME}-core"
${${PROJECT_NAME}_headers}
ALIAS KNP::BaseFramework::Core
LINK_PRIVATE
spdlog::spdlog Boost::headers Boost::filesystem #[[RapidJSON]] HighFive ${HDF5_LIB}
spdlog::spdlog Boost::headers Boost::filesystem #[[RapidJSON]] HighFive ${HDF5_LIB} csv2
# Hack to build with CLang.
${ADD_LIBS}
LINK_PUBLIC
Expand Down

0 comments on commit de15688

Please sign in to comment.