Update test_cmake.csp (#1856)

_test not needed for submodule target_link_libraries since it was added in project
This commit is contained in:
George Constantinides 2023-11-18 08:13:30 +00:00 committed by GitHub
parent 2000a4279e
commit 01385f4f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ add_executable(${PROJECT_NAME} test_main.cc)
# ##############################################################################
# If you include the drogon source code locally in your project, use this method
# to add drogon
# target_link_libraries(${PROJECT_NAME}_test PRIVATE drogon)
# target_link_libraries(${PROJECT_NAME} PRIVATE drogon)
#
# and comment out the following lines
target_link_libraries(${PROJECT_NAME} PRIVATE Drogon::Drogon)
ParseAndAddDrogonTests(${PROJECT_NAME})
ParseAndAddDrogonTests(${PROJECT_NAME})