Skip to content

Commit

Permalink
add: include_directories
Browse files Browse the repository at this point in the history
  • Loading branch information
guinpen98 committed Oct 30, 2023
1 parent 0bcb4f7 commit 7ffa5f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Project/IncludeTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../Library)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../Library
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary
)

file(GLOB_RECURSE LIB_HEADERS RELATIVE "${CMAKE_SOURCE_DIR}/../Library" "${CMAKE_SOURCE_DIR}/../Library/*.hpp")

Expand Down
1 change: 1 addition & 0 deletions Project/MapViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../Library
${CMAKE_CURRENT_SOURCE_DIR}/../../ExternalLibrary
)

find_package(SFML 2.5 COMPONENTS graphics)
Expand Down

0 comments on commit 7ffa5f5

Please sign in to comment.