fix cmake configuration for xcode generator

This commit is contained in:
Thomas Fussell 2016-12-17 00:18:28 +01:00
parent 836e544fa8
commit 8427db5d46

View File

@ -15,7 +15,9 @@ ExternalProject_Add(cryptopp
INSTALL_COMMAND "" INSTALL_COMMAND ""
CONFIGURE_COMMAND "" CONFIGURE_COMMAND ""
BUILD_COMMAND "") BUILD_COMMAND "")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../third-party/cryptopp ${CMAKE_CURRENT_BINARY_DIR}/cryptopp EXCLUDE_FROM_ALL) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../third-party/cryptopp ${CMAKE_CURRENT_BINARY_DIR}/cryptopp)
set_target_properties(cryptopp-shared PROPERTIES EXCLUDE_FROM_ALL True)
set_target_properties(cryptest PROPERTIES EXCLUDE_FROM_ALL True)
if(APPLE) if(APPLE)
option(FRAMEWORK "Set to ON to package dylib and headers into a .framework, OSX only" OFF) option(FRAMEWORK "Set to ON to package dylib and headers into a .framework, OSX only" OFF)