diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-09-12 23:18:46 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2023-09-12 23:18:46 +0200 |
| commit | ede381c00540831d965cae5ac8bcd31c2e34fc92 (patch) | |
| tree | 5c8b6ba5fcdfba71458e9c82639cd7614b8c177a /png | |
| parent | e44a988c4a0770b7a12193cc023d1a55b5ff89e7 (diff) | |
Fix Visual Studio shared library build
Todo: fluid-shared can't (yet) be built agains the shared fltk lib
because of some linker errors. Needs investigation.
Note: fluid-shared is basically a test program to demonstrate linking
against the shared FLTK libs but doesn't work yet using VS (MSVC).
This is no problem for the functionality.
Diffstat (limited to 'png')
| -rw-r--r-- | png/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/png/CMakeLists.txt b/png/CMakeLists.txt index 065ede0e0..b47323fe4 100644 --- a/png/CMakeLists.txt +++ b/png/CMakeLists.txt @@ -85,7 +85,7 @@ if (OPTION_BUILD_SHARED_LIBS) FL_ADD_LIBRARY (fltk_png SHARED "${PNG_SRCS}") if (FLTK_USE_BUILTIN_ZLIB) - target_link_libraries (fltk_png_SHARED fltk_z_SHARED) + target_link_libraries (fltk_png_SHARED fltk_z) else() target_link_libraries (fltk_png_SHARED ${FLTK_ZLIB_LIBRARIES}) endif () |
