summaryrefslogtreecommitdiff
path: root/CMake/export.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/export.cmake')
-rw-r--r--CMake/export.cmake16
1 files changed, 6 insertions, 10 deletions
diff --git a/CMake/export.cmake b/CMake/export.cmake
index a58a05553..fecd1bd22 100644
--- a/CMake/export.cmake
+++ b/CMake/export.cmake
@@ -71,21 +71,17 @@ set(srcdir ".")
set(LIBNAME "${libdir}/libfltk.a")
-if (WIN32)
- set (LDFLAGS "-mwindows")
- set (LIBS "-lole32 -luuid -lcomctl32")
-endif ()
-
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/fltk-config.in"
"${CMAKE_CURRENT_BINARY_DIR}/fltk-config"
@ONLY
)
-if(UNIX)
- execute_process(COMMAND chmod 755 fltk-config
- WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
- )
-endif(UNIX)
+
+if (UNIX)
+ execute_process(COMMAND chmod 755 fltk-config
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
+ )
+endif (UNIX)
# prepare some variables for config.h