Enable c++11 in cmake

This commit is contained in:
tevador 2019-05-31 00:51:30 +02:00
parent 378d5def38
commit e9cf3e0894

View File

@ -64,6 +64,7 @@ target_link_libraries(randomx
PRIVATE
${CMAKE_THREAD_LIBS_INIT})
set_property(TARGET randomx PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET randomx PROPERTY CXX_STANDARD 11)
# cheat because cmake and ccache hate each other
set_property(SOURCE src/jit_compiler_x86_static.S PROPERTY LANGUAGE C)