Skip to content

Commit

Permalink
Add missing include directory
Browse files Browse the repository at this point in the history
When integrating it using FetchContent headers are still
 in differents source folders.

note: At install they will be all merged to include/coin directory
  • Loading branch information
Mizux committed Jul 1, 2020
1 parent 1a890f3 commit 0719b3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Osi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ set(_HDRS
add_library(Osi ${_SRCS} ${_HDRS})
target_include_directories(Osi PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/Osi>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
$<INSTALL_INTERFACE:include/coin>)
target_compile_definitions(Osi
Expand Down

0 comments on commit 0719b3c

Please sign in to comment.