Re-establish compatibility with GCC 4.8
This commit is contained in:
parent
a584cddb86
commit
5269734003
1
vendor/scrypt/CMakeLists.txt
vendored
1
vendor/scrypt/CMakeLists.txt
vendored
@ -40,6 +40,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE
|
|||||||
target_compile_options(${PROJECT_NAME} PRIVATE
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
-DCONFIG_H_FILE=\"${CMAKE_CURRENT_BINARY_DIR}/src/scrypt_original-build/config.h\"
|
-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\"
|
-DCPUSUPPORT_CONFIG_FILE=\"${CMAKE_CURRENT_BINARY_DIR}/src/scrypt_original-build/cpusupport-config.h\"
|
||||||
|
-std=gnu99
|
||||||
)
|
)
|
||||||
add_dependencies(${PROJECT_NAME} scrypt_original)
|
add_dependencies(${PROJECT_NAME} scrypt_original)
|
||||||
target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/scrypt-1.2.1)
|
target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/scrypt-1.2.1)
|
||||||
|
Loading…
Reference in New Issue
Block a user