You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
429 B
11 lines
429 B
file(GLOB sources "*.c")
|
|
file(GLOB headers "*.h")
|
|
add_library(libcrypto777 ${sources} ${headers})
|
|
target_compile_definitions(libcrypto777 PRIVATE USE_STATIC_NANOMSG)
|
|
target_link_libraries(libcrypto777 PUBLIC curl ${NANOMSG_LIBRARY})
|
|
if(WIN32)
|
|
add_definitions(-DNATIVE_WINDOWS)
|
|
add_definitions(-DIGUANA_LOG2PACKETSIZE=20)
|
|
add_definitions(-DIGUANA_MAXPACKETSIZE=1572864)
|
|
include_directories("${CMAKE_SOURCE_DIR}/includes")
|
|
endif()
|
|
|