summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/CYGWIN.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-21 13:45:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-21 13:45:45 (GMT)
commite9687d931aeccdbf4fa6c05e066e0582c598083c (patch)
treec1072d305598153ec8a645492d9639528ee41356 /Modules/Platform/CYGWIN.cmake
parent1a9ae3b5fafff20ea3bf2563f10037d9cd071ccc (diff)
downloadCMake-e9687d931aeccdbf4fa6c05e066e0582c598083c.zip
CMake-e9687d931aeccdbf4fa6c05e066e0582c598083c.tar.gz
CMake-e9687d931aeccdbf4fa6c05e066e0582c598083c.tar.bz2
fix for create shared library
Diffstat (limited to 'Modules/Platform/CYGWIN.cmake')
-rw-r--r--Modules/Platform/CYGWIN.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/CYGWIN.cmake b/Modules/Platform/CYGWIN.cmake
index 4dd273d..ec7950a 100644
--- a/Modules/Platform/CYGWIN.cmake
+++ b/Modules/Platform/CYGWIN.cmake
@@ -7,3 +7,4 @@ SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make )
+SET(CMAKE_SHARED_LIBRARY_C_FLAGS -DTestPIC) \ No newline at end of file