mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Tests: Simplify nested if conditions in Complex tests
This commit is contained in:
@@ -45,12 +45,8 @@ add_executable(complex.file complex.file.cxx complex_nobuild.cxx
|
||||
|
||||
if (UNIX)
|
||||
target_link_libraries(complex ${CMAKE_DL_LIBS})
|
||||
else()
|
||||
if (NOT BORLAND)
|
||||
if(NOT MINGW)
|
||||
target_link_libraries(complex rpcrt4.lib)
|
||||
endif()
|
||||
endif()
|
||||
elseif(NOT BORLAND AND NOT MINGW)
|
||||
target_link_libraries(complex rpcrt4.lib)
|
||||
endif ()
|
||||
|
||||
# Test linking to static lib when a shared lib has the same name.
|
||||
|
||||
Reference in New Issue
Block a user