diff options
author | Brad King <brad.king@kitware.com> | 2023-07-11 16:11:07 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-07-11 16:11:34 (GMT) |
commit | 7202366638ecdaf0abd272907f58ccd4d32c510e (patch) | |
tree | ca4c03acb938b957a96e3ed825bcdd05213fb2f3 /Tests | |
parent | ad77f3860b7a65ac989d25263aa1b5a207fd536f (diff) | |
parent | d2a28d185a2f7ee61c5fe601dcf6189ef2b6d164 (diff) | |
download | CMake-7202366638ecdaf0abd272907f58ccd4d32c510e.zip CMake-7202366638ecdaf0abd272907f58ccd4d32c510e.tar.gz CMake-7202366638ecdaf0abd272907f58ccd4d32c510e.tar.bz2 |
Merge topic 'test-lib-order'
d2a28d185a Tests: Improve order of CMakeLibTests link libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8617
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLib/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLib/CMakeLists.txt b/Tests/CMakeLib/CMakeLists.txt index fc3c23b..8ce8f67 100644 --- a/Tests/CMakeLib/CMakeLists.txt +++ b/Tests/CMakeLib/CMakeLists.txt @@ -67,7 +67,7 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/testUVProcessChainInput.txt" "HELLO WORL create_test_sourcelist(CMakeLib_TEST_SRCS CMakeLibTests.cxx ${CMakeLib_TESTS}) add_executable(CMakeLibTests ${CMakeLib_TEST_SRCS}) -target_link_libraries(CMakeLibTests CMakeLib CTestLib) +target_link_libraries(CMakeLibTests PRIVATE CTestLib CMakeLib) if(CMake_BUILD_PCH) target_precompile_headers(CMakeLibTests PRIVATE "<iostream>" "<cm3p/uv.h>") target_compile_definitions(CMakeLibTests PRIVATE "NOMINMAX") |