package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
520 B

diff --git a/CMake/export.cmake b/CMake/export.cmake
index 6e8bc5d..e1983f3 100644
--- a/CMake/export.cmake
+++ b/CMake/export.cmake
@@ -20,6 +20,7 @@
#######################################################################
# Set the fluid executable path
+if (FLTK_BUILD_FLUID)
if (CMAKE_CROSSCOMPILING)
find_file(FLUID_PATH
NAMES fluid fluid.exe
@@ -37,6 +38,7 @@ else ()
set (FLTK_FLUID_EXECUTABLE fluid)
set (FLUID fluid) # export
endif (CMAKE_CROSSCOMPILING)
+endif ()
add_subdirectory(src)