mirror of
https://github.com/shadps4-emu/ext-cryptoppwin.git
synced 2024-11-23 01:59:39 +00:00
0dd224c681
- Reduced cryptopp release lib size. - Added condition to choose lib based on build type.
7 lines
328 B
CMake
7 lines
328 B
CMake
add_library(cryptoppwin SHARED IMPORTED GLOBAL)
|
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlibd.lib")
|
|
else()
|
|
set_target_properties(cryptoppwin PROPERTIES IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib/cryptlib.lib")
|
|
endif() |