HDFFV-10805 Add option to only build shared targets
HDFFV-10805 Add ONLY_SHARED_LIBS option and prefer shared over static HDFFV-10803 Update FindSZIP.cmake find module Remove unneeded modules and update java modules
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
#############################################################################################
|
||||
#### Only build static libraries ####
|
||||
#set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=OFF")
|
||||
#### Add PICC option on linux/mac ####
|
||||
#### Only build shared libraries ####
|
||||
#set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DONLY_SHARED_LIBS:BOOL=OFF")
|
||||
#### Add PIC option on linux/mac ####
|
||||
#set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_ANSI_CFLAGS:STRING=-fPIC")
|
||||
|
||||
#############################################################################################
|
||||
|
||||
Reference in New Issue
Block a user