Skip to content

Commit 45b52eb

Browse files
committed
test_install can not use the header only interface!
1 parent 1611608 commit 45b52eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test_install/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ add_executable(another_main another_main.cpp)
4141
target_link_libraries(another_main PRIVATE project_options project_warnings)
4242

4343
## dependencies
44-
#XXX set(DEPENDENCIES_CONFIGURED myproj)
45-
set(DEPENDENCIES_CONFIGURED myproj_header_only_lib myproj)
44+
set(DEPENDENCIES_CONFIGURED myproj)
45+
#TODO(CK) set(DEPENDENCIES_CONFIGURED myproj_header_only_lib myproj)
4646

4747
foreach(DEPENDENCY ${DEPENDENCIES_CONFIGURED})
4848
find_package(${DEPENDENCY} CONFIG REQUIRED)
4949
endforeach()
5050

51-
#XXX target_link_libraries(another_main PRIVATE myproj::lib myproj::lib2)
52-
target_link_libraries(another_main PRIVATE myproj_header_only_lib::lib myproj::lib2)
51+
target_link_libraries(another_main PRIVATE myproj::lib myproj::lib2)
52+
#TODO(CK) target_link_libraries(another_main PRIVATE myproj_header_only_lib::lib myproj::lib2)
5353

5454
# tests
5555
enable_testing()

0 commit comments

Comments
 (0)