Skip to content

Commit

Permalink
Fix source collection to support embbed project
Browse files Browse the repository at this point in the history
  • Loading branch information
tishion committed Dec 4, 2023
1 parent b300272 commit a645093
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 @@ -84,7 +84,7 @@ file(GLOB_RECURSE potto_INCLUDE_FILES
include/*.hpp
)
source_group(
TREE ${CMAKE_SOURCE_DIR}/include/potto
TREE ${CMAKE_CURRENT_SOURCE_DIR}/include/potto
PREFIX include
FILES ${potto_INCLUDE_FILES}
)
Expand All @@ -97,7 +97,7 @@ file(GLOB_RECURSE potto_SRC_FILES
src/*.cpp
)
source_group(
TREE ${CMAKE_SOURCE_DIR}
TREE ${CMAKE_CURRENT_SOURCE_DIR}
FILES ${potto_SRC_FILES}
)

Expand Down

0 comments on commit a645093

Please sign in to comment.