diff --git a/simple64-input-raphnetraw/CMakeLists.txt b/simple64-input-raphnetraw/CMakeLists.txt index 868c402..3414dad 100644 --- a/simple64-input-raphnetraw/CMakeLists.txt +++ b/simple64-input-raphnetraw/CMakeLists.txt @@ -45,7 +45,7 @@ set_property(TARGET simple64-input-raphnetraw PROPERTY C_VISIBILITY_PRESET hidde set_property(TARGET simple64-input-raphnetraw PROPERTY CXX_VISIBILITY_PRESET hidden) set_property(TARGET simple64-input-raphnetraw PROPERTY VISIBILITY_INLINES_HIDDEN ON) set_target_properties(simple64-input-raphnetraw PROPERTIES PREFIX "") -target_compile_options(simple64-input-raphnetraw PRIVATE -march=x86-64-v3 ${HIDAPI_CFLAGS} -fno-semantic-interposition) -target_link_options(simple64-input-raphnetraw PRIVATE -march=x86-64-v3 -fno-semantic-interposition -Wl,-Bsymbolic -Wl,-Bsymbolic-functions) +target_compile_options(simple64-input-raphnetraw PRIVATE -march=x86-64-v3 ${HIDAPI_CFLAGS} -Ofast) +target_link_options(simple64-input-raphnetraw PRIVATE -march=x86-64-v3 -Ofast -Wl,-Bsymbolic -Wl,-Bsymbolic-functions) target_link_directories(simple64-input-raphnetraw PRIVATE ${HIDAPI_LIBRARY_DIRS}) target_link_libraries(simple64-input-raphnetraw PRIVATE ${HIDAPI_LIBRARIES})