Skip to content
Snippets Groups Projects
Commit b8605f13 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Boost dependencies of lib4neuro made private

parent c870a540
No related branches found
No related tags found
No related merge requests found
...@@ -29,8 +29,7 @@ endif() ...@@ -29,8 +29,7 @@ endif()
#------------# #------------#
# Build type # # Build type #
#------------# #------------#
# Default: Release # Release / None / Debug
# Others: None, Debug
if (NOT CMAKE_BUILD_TYPE) if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE RELEASE CACHE STRING set (CMAKE_BUILD_TYPE RELEASE CACHE STRING
"Choose the type of build, options are: None Debug Release." "Choose the type of build, options are: None Debug Release."
......
...@@ -23,13 +23,18 @@ if ("${BUILD_LIB}" STREQUAL "yes") ...@@ -23,13 +23,18 @@ if ("${BUILD_LIB}" STREQUAL "yes")
Solvers/DESolver.cpp Solvers/DESolver.cpp
) )
target_link_libraries(lib4neuro PUBLIC ${Boost_LIBRARIES}) target_link_libraries(
lib4neuro
PRIVATE
${Boost_LIBRARIES}
)
target_include_directories( target_include_directories(
lib4neuro lib4neuro
PUBLIC PUBLIC
${ROOT_DIR}/include ${ROOT_DIR}/include
# ${SRC_DIR}
PRIVATE PRIVATE
${SRC_DIR} ${SRC_DIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment