Added explicit -m64 flag to CMakeLists.

This commit is contained in:
Jason Watkins
2015-04-30 11:19:13 -07:00
parent 2c9982fea0
commit 8898ff9be9

View File

@@ -20,7 +20,7 @@ add_library(xpc64 SHARED XPCPlugin.cpp
MessageHandlers.cpp
UDPSocket.cpp)
set_target_properties(xpc64 PROPERTIES PREFIX "" SUFFIX ".xpl")
set_target_properties(xpc64 PROPERTIES COMPILE_FLAGS "-std=gnu++11" LINK_FLAGS "-shared -rdynamic -nodefaultlibs -undefined_warning")
set_target_properties(xpc64 PROPERTIES COMPILE_FLAGS "-std=gnu++11 -m64" LINK_FLAGS "-shared -rdynamic -nodefaultlibs -undefined_warning -m64")
add_library(xpc32 SHARED XPCPlugin.cpp
DataManager.cpp