Michael Jackson wrote:
Does it work if you just drop the quotes from the second half of the
set()?
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} /arch:SSE2)
or, slightly more pedantically:
set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} "/arch:SSE2")
Nope, this variable is a string and not a list.
It has to be like this:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:SSE2")
-Bill
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake