summaryrefslogtreecommitdiff
path: root/CMake/install.cmake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-23 19:41:52 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-02-23 19:41:52 +0000
commit7d1488507d110e567f57610894e9ce5d0eaebf2b (patch)
tree39ec070c7b17850b61f3a665f5190f5b9b55a4e2 /CMake/install.cmake
parenta0863e393af4231c93f917c18ef6b3366153c21e (diff)
CMake: Fix fltk-config for Windows and Unix/Linux.
This update ought to work with fltk-config [--use-images] [--use-gl] --compile <c source file> on both Windows and Unix/Linux when built with CMake. It was tested under Windows and Linux using fltk-config directly from the build tree, but it should work as well after installation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12686 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake/install.cmake')
-rw-r--r--CMake/install.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMake/install.cmake b/CMake/install.cmake
index cab36e9f2..cb4f8fe71 100644
--- a/CMake/install.cmake
+++ b/CMake/install.cmake
@@ -84,11 +84,6 @@ 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}/bin/fltk-config"