Skip to content

Commit

Permalink
Merge pull request #110 from Tilka/polarssl1.3
Browse files Browse the repository at this point in the history
CMake: remove USE_SHARED_POLARSSL_LIBRARY
  • Loading branch information
Parlane committed Feb 26, 2014
2 parents 66d1f16 + 1557628 commit 698bf8f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Externals/polarssl/library/CMakeLists.txt
@@ -1,5 +1,3 @@
option(USE_SHARED_POLARSSL_LIBRARY "Build PolarSSL as a shared library." OFF)

set(src
aes.c
aesni.c
Expand Down Expand Up @@ -77,17 +75,8 @@ if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS_CHECKFULL "${CMAKE_C_FLAGS_CHECK} -Wcast-qual")
endif(CMAKE_COMPILER_IS_GNUCC)

if(NOT USE_SHARED_POLARSSL_LIBRARY)

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})

if(ZLIB_FOUND)
Expand Down

0 comments on commit 698bf8f

Please sign in to comment.