Skip to content
Snippets Groups Projects
Commit b8fc8a1f authored by Christof Kaufmann's avatar Christof Kaufmann
Browse files

build: Fix visibility preset property name

parent d6cf732e
Branches
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ if(IMAGEFUSION_BUILD_PYTHON_INTERFACE) ...@@ -245,7 +245,7 @@ if(IMAGEFUSION_BUILD_PYTHON_INTERFACE)
add_library(imfupython MODULE python/src/interface.cpp) add_library(imfupython MODULE python/src/interface.cpp)
set_target_properties(imfupython PROPERTIES PREFIX "") set_target_properties(imfupython PROPERTIES PREFIX "")
set_target_properties(imfupython PROPERTIES OUTPUT_NAME "_imagefusion") set_target_properties(imfupython PROPERTIES OUTPUT_NAME "_imagefusion")
set_target_properties(imfupython PROPERTIES CMAKE_CXX_VISIBILITY_PRESET "hidden") set_target_properties(imfupython PROPERTIES CXX_VISIBILITY_PRESET "hidden")
if(SKBUILD) if(SKBUILD)
# make interface lib relocateable, i. e. searches relative to install location for libimagefusion.so, e. g. miniconda3/lib/libimagefusion.so is found from miniconda3/lib/python3.8/site-packages/imagefusion/ # make interface lib relocateable, i. e. searches relative to install location for libimagefusion.so, e. g. miniconda3/lib/libimagefusion.so is found from miniconda3/lib/python3.8/site-packages/imagefusion/
set_target_properties(imfupython PROPERTIES INSTALL_RPATH \$ORIGIN/../../..) set_target_properties(imfupython PROPERTIES INSTALL_RPATH \$ORIGIN/../../..)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment