Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
emrekovanci committed Apr 21, 2024
1 parent 65da9e1 commit b7fc3b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ add_library(Core
include/Core/Lib.hpp
src/Core/Lib.cpp
)
target_include_directories(Core PUBLIC ${PROJECT_SOURCE_DIR}/library/include)
target_include_directories(Core PUBLIC "$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/library/include>")
target_compile_features(Core PUBLIC cxx_std_17)

include(GenerateExportHeader)
Expand Down Expand Up @@ -34,5 +34,5 @@ set_target_properties(Core PROPERTIES
install(TARGETS Core)

if (FEATURE_TESTS)
add_subdirectory(${PROJECT_SOURCE_DIR}/library/test)
add_subdirectory(test)
endif()

0 comments on commit b7fc3b6

Please sign in to comment.