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".
This commit is contained in:
parent
82bee7fa33
commit
f375ff9689
@ -16,6 +16,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
include (../CMake/fl_create_example.cmake)
|
include (../CMake/fl_create_example.cmake)
|
||||||
|
include (../CMake/FLTK-Functions.cmake)
|
||||||
|
|
||||||
set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/../bin/examples)
|
set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/../bin/examples)
|
||||||
file (MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
|
file (MAKE_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user