Define LTM_DESC for all users of libtomcrypt, otherwise the header won't
have init_LTM available.
This commit is contained in:
parent
fed6245e48
commit
5502d84057
|
@ -12,7 +12,6 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
|||
endif()
|
||||
|
||||
add_compile_definitions(
|
||||
LTM_DESC
|
||||
LTC_SOURCE
|
||||
LTC_NO_TEST
|
||||
LTC_NO_PROTOTYPES
|
||||
|
@ -461,6 +460,8 @@ source_group(TREE ${CXBXR_ROOT_DIR}/import/libtomcrypt/src PREFIX source FILES $
|
|||
|
||||
add_library(libtomcrypt ${HEADERS} ${SOURCES})
|
||||
|
||||
target_compile_definitions(libtomcrypt PUBLIC LTM_DESC=1)
|
||||
|
||||
target_link_libraries(libtomcrypt
|
||||
PUBLIC libtommath
|
||||
|
||||
|
|
Loading…
Reference in New Issue