mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
CMake: remove USE_SHARED_POLARSSL_LIBRARY
This could easily be mistaken for a Dolphin option.
This commit is contained in:
parent
6959a93599
commit
15576287f8
11
Externals/polarssl/library/CMakeLists.txt
vendored
11
Externals/polarssl/library/CMakeLists.txt
vendored
@ -1,5 +1,3 @@
|
|||||||
option(USE_SHARED_POLARSSL_LIBRARY "Build PolarSSL as a shared library." OFF)
|
|
||||||
|
|
||||||
set(src
|
set(src
|
||||||
aes.c
|
aes.c
|
||||||
aesni.c
|
aesni.c
|
||||||
@ -77,17 +75,8 @@ if(CMAKE_COMPILER_IS_GNUCC)
|
|||||||
set(CMAKE_C_FLAGS_CHECKFULL "${CMAKE_C_FLAGS_CHECK} -Wcast-qual")
|
set(CMAKE_C_FLAGS_CHECKFULL "${CMAKE_C_FLAGS_CHECK} -Wcast-qual")
|
||||||
endif(CMAKE_COMPILER_IS_GNUCC)
|
endif(CMAKE_COMPILER_IS_GNUCC)
|
||||||
|
|
||||||
if(NOT USE_SHARED_POLARSSL_LIBRARY)
|
|
||||||
|
|
||||||
add_library(polarssl STATIC ${src})
|
add_library(polarssl STATIC ${src})
|
||||||
|
|
||||||
else(NOT USE_SHARED_POLARSSL_LIBRARY)
|
|
||||||
|
|
||||||
add_library(polarssl SHARED ${src})
|
|
||||||
set_target_properties(polarssl PROPERTIES VERSION 1.3.4 SOVERSION 5)
|
|
||||||
|
|
||||||
endif(NOT USE_SHARED_POLARSSL_LIBRARY)
|
|
||||||
|
|
||||||
target_link_libraries(polarssl ${libs})
|
target_link_libraries(polarssl ${libs})
|
||||||
|
|
||||||
if(ZLIB_FOUND)
|
if(ZLIB_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user