aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/StaticBuild.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake
index 1af9893b..b96d800b 100644
--- a/cmake/StaticBuild.cmake
+++ b/cmake/StaticBuild.cmake
@@ -119,7 +119,7 @@ if(BUILD_STATIC)
string(STRIP ${GNUTLS_LIBRARIES} GNUTLS_LIBRARIES)
endif()
- if(FLTK_FOUND)
+ if(DEFINED FLTK_LIBRARIES)
set(FLTK_LIBRARIES "-Wl,-Bstatic -lfltk_images -lpng -ljpeg -lfltk -Wl,-Bdynamic")
if(WIN32)