summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-07-20 10:19:47 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-07-20 10:19:47 +0200
commit1657654377856df9a5c4857a520a54c2bdf3c753 (patch)
tree3129b1cf9a0e85ea709cb485e53e7dbc6a10752b /CMake
parent956a3bb16086c4b28159316d538986981518fa7f (diff)
CMake: fix FLTK_RUN_FLUID macro
The target variable should be set outside of the loop.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/FLTK-Functions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/FLTK-Functions.cmake b/CMake/FLTK-Functions.cmake
index cf7b0ae1a..14e96d7cc 100644
--- a/CMake/FLTK-Functions.cmake
+++ b/CMake/FLTK-Functions.cmake
@@ -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)
#######################################################################