summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/NetBSD.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
commitc3530dd01f4e44af3e6218d51533f9d10ea3ae53 (patch)
treedc21f1ac5db3571a667d0d4a150c64c9facde3d0 /Modules/Platform/NetBSD.cmake
parenta293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (diff)
downloadCMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.zip
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.gz
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.bz2
BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu
Diffstat (limited to 'Modules/Platform/NetBSD.cmake')
-rw-r--r--Modules/Platform/NetBSD.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/NetBSD.cmake b/Modules/Platform/NetBSD.cmake
index e9c9ab2..e5a8093 100644
--- a/Modules/Platform/NetBSD.cmake
+++ b/Modules/Platform/NetBSD.cmake
@@ -6,3 +6,5 @@ IF(EXISTS /usr/include/dlfcn.h)
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-rpath,") # -rpath
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":") # : or empty
ENDIF(EXISTS /usr/include/dlfcn.h)
+# include the gcc flags
+INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)