diff options
author | Brad King <brad.king@kitware.com> | 2023-02-03 21:05:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-03 21:05:28 (GMT) |
commit | 7e3229d7f9d759713e07d7594ffe971588d8e592 (patch) | |
tree | b363c93e247f014eb824492c785ed933a3a6293e /Tests/COnly | |
parent | 77610c6cf0fd18586eaaf4b328936f79683afd34 (diff) | |
download | CMake-7e3229d7f9d759713e07d7594ffe971588d8e592.zip CMake-7e3229d7f9d759713e07d7594ffe971588d8e592.tar.gz CMake-7e3229d7f9d759713e07d7594ffe971588d8e592.tar.bz2 |
Tests: Move LINK_FLAGS case from COnly to LinkFlags test
Move the case added by commit 246e964180 (BUG: fix for bug 5455, handle
nodefaultlib with more than one lib, 2007-12-06, v2.6.0~751) to a more
sensible test.
Diffstat (limited to 'Tests/COnly')
-rw-r--r-- | Tests/COnly/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Tests/COnly/CMakeLists.txt b/Tests/COnly/CMakeLists.txt index 1c24017..b1de4e2 100644 --- a/Tests/COnly/CMakeLists.txt +++ b/Tests/COnly/CMakeLists.txt @@ -7,10 +7,6 @@ add_library(testc1 STATIC libc1.c) add_library(testc2 SHARED libc2.c) add_executable (COnly conly.c foo.c foo.h) target_link_libraries(COnly testc1 testc2) -if(MSVC_VERSION AND NOT CMAKE_C_COMPILER_ID STREQUAL Clang OR "x${CMAKE_C_COMPILER_FRONTEND_VARIANT}" STREQUAL "xMSVC") - set_target_properties(COnly PROPERTIES - LINK_FLAGS " /NODEFAULTLIB:\"libcdg.lib\" /NODEFAULTLIB:\"libcmtg.lib\" /NODEFAULTLIB:\"foomsvcrt.lib\" /NODEFAULTLIB:\"libbar.lib\" /NODEFAULTLIB:\"libfooba.lib\"") -endif() string(ASCII 35 32 67 77 97 107 101 ASCII_STRING) message(STATUS "String: ${ASCII_STRING}") |