Skip to content

Commit

Permalink
Fix cmake integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 13, 2023
1 parent 509b704 commit adba9f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/add_subdirectory-integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(demo_project VERSION 0.0.1 LANGUAGES CXX)
add_executable(main main.cpp)

add_subdirectory(libassert)
target_link_libraries(main assert)
target_link_libraries(main assert::assert)

if(WIN32)
add_custom_command(
Expand Down
2 changes: 1 addition & 1 deletion tests/fetchcontent-integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FetchContent_Declare(
GIT_TAG ${LIBASSERT_TAG}
)
FetchContent_MakeAvailable(assert)
target_link_libraries(main assert)
target_link_libraries(main assert::assert)

if(WIN32)
add_custom_command(
Expand Down

0 comments on commit adba9f8

Please sign in to comment.