From d61800c3bea1679e47c47b08c9af9985c5ccf6d5 Mon Sep 17 00:00:00 2001 From: tomilov Date: Thu, 30 Jan 2020 21:05:44 +0500 Subject: [PATCH] remove unnecessary condition --- tests/NoExceptions/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/NoExceptions/CMakeLists.txt b/tests/NoExceptions/CMakeLists.txt index 7b9f12c..2e055f2 100644 --- a/tests/NoExceptions/CMakeLists.txt +++ b/tests/NoExceptions/CMakeLists.txt @@ -31,8 +31,6 @@ add_executable(NoExceptions ${SOURCES} ) -if (UNIX) - target_link_libraries(NoExceptions ${CMAKE_DL_LIBS}) -endif() +target_link_libraries(NoExceptions ${CMAKE_DL_LIBS}) set_target_properties(NoExceptions PROPERTIES FOLDER "Tests")