summaryrefslogtreecommitdiff
path: root/CMake/export.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/export.cmake')
-rw-r--r--CMake/export.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMake/export.cmake b/CMake/export.cmake
index 7a7f94f89..a58a05553 100644
--- a/CMake/export.cmake
+++ b/CMake/export.cmake
@@ -71,6 +71,11 @@ 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"