Re-establish compatibility with GCC 4.8

This commit is contained in:
Sebastian Messmer 2017-09-10 13:35:07 +01:00
parent a584cddb86
commit 5269734003

View File

@ -40,6 +40,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
target_compile_options(${PROJECT_NAME} PRIVATE
-DCONFIG_H_FILE=\"${CMAKE_CURRENT_BINARY_DIR}/src/scrypt_original-build/config.h\"
-DCPUSUPPORT_CONFIG_FILE=\"${CMAKE_CURRENT_BINARY_DIR}/src/scrypt_original-build/cpusupport-config.h\"
-std=gnu99
)
add_dependencies(${PROJECT_NAME} scrypt_original)
target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/scrypt-1.2.1)