diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-19 11:55:45 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-19 11:55:45 +0100 |
| commit | f375ff968977300a696422e2e73f59f57a32125c (patch) | |
| tree | 9975ec7e59eff44a2803a1e344fd3b550f874d00 | |
| parent | 82bee7fa33218c75d94d682d9270d7ecac31f347 (diff) | |
CMake: fix building examples w/o test programs
As reported in fltk.coredev in thread
"CMAKE build with build examples. On and test OFF fails"
$ cmake .. -D FLTK_BUILD_EXAMPLES=ON -D FLTK_BUILD_TEST=OFF
failed with: Unknown CMake command "FLTK_RUN_FLUID".
| -rw-r--r-- | examples/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2cf147637..2bc33557a 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -16,6 +16,7 @@ ################################################################################ include (../CMake/fl_create_example.cmake) +include (../CMake/FLTK-Functions.cmake) set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/../bin/examples) file (MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH}) |
