Add sse/mmx flags, so used intrinsics compile on 32bit

master
BtbN 2014-05-08 23:08:45 +02:00
parent 6a63e4fecc
commit fe8d964889
1 changed files with 5 additions and 0 deletions

View File

@ -225,6 +225,11 @@ set_target_properties(libobs PROPERTIES
VERSION "0"
SOVERSION "0")
target_compile_definitions(libobs PUBLIC HAVE_OBSCONFIG_H)
if(NOT MSVC)
target_compile_options(libobs PUBLIC "-mmmx" "-msse" "-msse2")
endif()
target_link_libraries(libobs
PRIVATE
jansson