From 6e008649d03c1055675071d8c02c32114600c862 Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 12 Jan 2005 15:28:27 +0000 Subject: [PATCH] BUG: Fix build of gdcm on SunOS + gcc. Thanks for report by Jean Michel Rouet --- src/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 57a81088..e37bf17a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -76,9 +76,7 @@ ENDIF(APPLE) # Need nsl to resolve gethostbyname on SunOS-5.8 CC IF(CMAKE_SYSTEM MATCHES "SunOS.*") - IF(NOT CMAKE_COMPILER_IS_GNUCXX) - TARGET_LINK_LIBRARIES(gdcm nsl) - ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) + TARGET_LINK_LIBRARIES(gdcm nsl) ENDIF(CMAKE_SYSTEM MATCHES "SunOS.*") INSTALL_FILES(/include "\\.h$") -- 2.48.1