summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/CYGWIN-GNU.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/CYGWIN-GNU.cmake')
-rw-r--r--Modules/Platform/CYGWIN-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/CYGWIN-GNU.cmake b/Modules/Platform/CYGWIN-GNU.cmake
index 2ec2219..fe25ab2 100644
--- a/Modules/Platform/CYGWIN-GNU.cmake
+++ b/Modules/Platform/CYGWIN-GNU.cmake
@@ -47,7 +47,7 @@ macro(__cygwin_compiler_gnu lang)
foreach(type SHARED_LIBRARY SHARED_MODULE EXE)
set(CMAKE_${type}_LINK_STATIC_${lang}_FLAGS "-Wl,-Bstatic")
set(CMAKE_${type}_LINK_DYNAMIC_${lang}_FLAGS "-Wl,-Bdynamic")
- endforeach(type)
+ endforeach()
set(CMAKE_EXE_EXPORTS_${lang}_FLAG "-Wl,--export-all-symbols")
# TODO: Is -Wl,--enable-auto-import now always default?