mirror of
https://github.com/fltk/fltk.git
synced 2025-12-16 09:45:59 +08:00
CMake: fix FLTK_RUN_FLUID macro
The target variable should be set outside of the loop.
This commit is contained in:
@@ -34,8 +34,8 @@ function (FLTK_RUN_FLUID TARGET SOURCES)
|
||||
)
|
||||
list (APPEND CXX_FILES "${basename}.cxx")
|
||||
endif ("${src}" MATCHES "\\.fl$")
|
||||
set (${TARGET} ${CXX_FILES} PARENT_SCOPE)
|
||||
endforeach ()
|
||||
set (${TARGET} ${CXX_FILES} PARENT_SCOPE)
|
||||
endfunction (FLTK_RUN_FLUID TARGET SOURCES)
|
||||
|
||||
#######################################################################
|
||||
|
||||
Reference in New Issue
Block a user