13 lines
252 B
CMake
13 lines
252 B
CMake
IF (WIN32)
|
|
ELSE (WIN32)
|
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -no-integrated-as")
|
|
ENDIF (WIN32)
|
|
|
|
add_definitions( -DSCRYPT_SALSA )
|
|
add_definitions( -DSCRYPT_SHA256 )
|
|
|
|
set( scrypt_sources
|
|
scrypt-jane.c
|
|
)
|
|
|
|
add_library( scrypt ${scrypt_sources} )
|