diff options
Diffstat (limited to 'CMake/export.cmake')
| -rw-r--r-- | CMake/export.cmake | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/CMake/export.cmake b/CMake/export.cmake index 220e6dc2c..fa5816d53 100644 --- a/CMake/export.cmake +++ b/CMake/export.cmake @@ -70,11 +70,16 @@ else() endif() # generate FLTK-Targets.cmake for build directory use +set(export_targets + ${FLTK_LIBRARIES} + ${FLTK_LIBRARIES_SHARED} + ${FLUID_EXPORT} + ${FLTK_OPTIONS_EXPORT} +) +message(STATUS "export.cmake: exporting targets...") +fl_debug_var(export_targets) export(TARGETS - ${FLTK_LIBRARIES} - ${FLTK_LIBRARIES_SHARED} - ${FLUID_EXPORT} - ${FLTK_OPTIONS_EXPORT} + ${export_targets} FILE ${CMAKE_CURRENT_BINARY_DIR}/FLTK-Targets.cmake NAMESPACE |
