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")