CMake: fix FLTK_RUN_FLUID macro
The target variable should be set outside of the loop.
This commit is contained in:
parent
956a3bb160
commit
1657654377
@ -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)
|
||||
|
||||
#######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user