Skip to content
Snippets Groups Projects
Commit 1a0c5028 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix linking of static executables

parent a32bfa8b
Branches
Tags
No related merge requests found
......@@ -18,6 +18,6 @@ set(OST_IO_PYMOD_MODULES
pymod(NAME io CPP ${OST_IO_PYMOD_SOURCES} PY ${OST_IO_PYMOD_MODULES})
if (STATIC_LIBRARIES)
message("adding zlib libraries")
target_link_libraries(_io ${ZLIB_LIBRARIES})
target_link_libraries(_ost_io ${ZLIB_LIBRARIES})
endif()
......@@ -39,6 +39,7 @@ endif()
executable(NAME ldt SOURCES ldt.cc
DEPENDS_ON ost_io ost_mol_alg STATIC)
target_link_libraries(ldt ${BOOST_PROGRAM_OPTIONS})
module(NAME mol_alg SOURCES ${OST_MOL_ALG_SOURCES}
HEADERS ${OST_MOL_ALG_HEADERS}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment