summaryrefslogtreecommitdiff
path: root/CMake/fl_create_example.cmake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-15 21:30:12 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-11-15 21:30:12 +0100
commit6f021d483093a51e736d38e12491fbe5a70d302c (patch)
tree16c8f4a677c00e617c842dff8634f0018f619798 /CMake/fl_create_example.cmake
parented7c2f1464346c386825b6ef76a507f481604024 (diff)
CMake: Raise cmake_minimum_required from 3.12 to 3.15
Remove code that checks CMake versions lower than 3.15
Diffstat (limited to 'CMake/fl_create_example.cmake')
-rw-r--r--CMake/fl_create_example.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/fl_create_example.cmake b/CMake/fl_create_example.cmake
index 77fb24d0b..1ff85d17c 100644
--- a/CMake/fl_create_example.cmake
+++ b/CMake/fl_create_example.cmake
@@ -125,7 +125,7 @@ function (CREATE_EXAMPLE NAME SOURCES LIBRARIES)
endif ()
if (FLTK_HAVE_CAIRO AND PKG_CAIRO_LIBRARY_DIRS)
- fl_target_link_directories (${TARGET_NAME} PUBLIC ${PKG_CAIRO_LIBRARY_DIRS})
+ target_link_directories (${TARGET_NAME} PUBLIC ${PKG_CAIRO_LIBRARY_DIRS})
endif ()
if (USE_GDIPLUS) # can only be true on Windows