Fix solid-lite static linking
If BUILD_SHARED_LIBS is part of standard system cmake args: cantata: error while loading shared libraries: libsolidlite.so: cannot open shared object file: No such file or directory
This commit is contained in:
committed by
Andreas Sturmlechner
parent
67225dfd71
commit
b85979284e
2
3rdparty/solid-lite/CMakeLists.txt
vendored
2
3rdparty/solid-lite/CMakeLists.txt
vendored
@@ -202,7 +202,7 @@ if(APPLE)
|
||||
set(solidlite_OPTIONAL_LIBS ${IOKIT_LIBRARY})
|
||||
endif()
|
||||
|
||||
add_library(solidlite ${solidlite_LIB_SRCS})
|
||||
add_library(solidlite STATIC ${solidlite_LIB_SRCS})
|
||||
|
||||
if ( UDEV_FOUND )
|
||||
set(solidlite_OPTIONAL_LIBS ${solidlite_OPTIONAL_LIBS} ${UDEV_LIBS})
|
||||
|
||||
Reference in New Issue
Block a user