Skip to content

Commit f2edbba

Browse files
committed
update fltk
1 parent 2e2ce0a commit f2edbba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ endif()
4040
if(USE_SYSTEM_FLTK)
4141
find_package(FLTK REQUIRED NO_MODULE)
4242
else()
43+
file(GLOB RESULT "fltk")
44+
list(LENGTH RESULT RES_LEN)
45+
if(RES_LEN EQUAL 0)
46+
message(FATAL_ERROR "fltk submodule not initialized! Run: git submodule update --init --recursive")
47+
endif()
4348
add_subdirectory(fltk)
4449
endif()
4550

0 commit comments

Comments
 (0)