Skip to content

Commit b74f77a

Browse files
committed
cmake: fix sources lookup
1 parent cd9a96c commit b74f77a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/cmake/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ find_package(ruis REQUIRED)
1616

1717
# ============================
1818

19-
file(GLOB_RECURSE srcs "../../src/${name}/*.cpp")
19+
file(GLOB_RECURSE srcs "../../src/*.cpp")
2020

2121
add_library(
2222
${name}
@@ -46,7 +46,7 @@ target_link_libraries(
4646
# install library header files preserving directory hierarchy
4747
install(
4848
DIRECTORY
49-
"${CMAKE_CURRENT_SOURCE_DIR}/../../src/${name}"
49+
"${CMAKE_CURRENT_SOURCE_DIR}/../../src/ruis"
5050
DESTINATION
5151
"${CMAKE_INSTALL_INCLUDEDIR}"
5252
FILES_MATCHING PATTERN

0 commit comments

Comments
 (0)