Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jul 29, 2023
1 parent 40b866d commit 2fd60c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions tests/add_subdirectory-integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ project(demo_project VERSION 0.0.1 LANGUAGES CXX)

add_executable(main main.cpp)

if(WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
endif()

add_subdirectory(libassert)
target_link_libraries(main assert)
5 changes: 0 additions & 5 deletions tests/findpackage-integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,5 @@ project(demo_project VERSION 0.0.1 LANGUAGES CXX)

add_executable(main main.cpp)

if(WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")
endif()

find_package(assert REQUIRED)
target_link_libraries(main assert::assert)

0 comments on commit 2fd60c4

Please sign in to comment.