Skip to content

Commit

Permalink
set FGT linkage to PRIVATE
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu authored and gadomski committed Apr 23, 2024
1 parent a0d68f4 commit 146d465
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ target_include_directories(Library-C++
${EIGEN3_INCLUDE_DIR}
)
if(WITH_FGT)
target_link_libraries(Library-C++ PUBLIC Fgt::Library-C++)
target_compile_definitions(Library-C++ PUBLIC CPD_WITH_FGT)
target_link_libraries(Library-C++ PRIVATE Fgt::Library-C++)
target_compile_definitions(Library-C++ PRIVATE CPD_WITH_FGT)
endif()

option(WITH_STRICT_WARNINGS "Build with stricter warnings" ON)
Expand Down

0 comments on commit 146d465

Please sign in to comment.