Windows CMake fix

This commit is contained in:
Jack Andersen 2015-08-30 17:39:41 -10:00
parent 151b0e6333
commit 5270d232ab
1 changed files with 2 additions and 1 deletions

View File

@ -3,8 +3,9 @@ if (NOT DEFINED ATHENA_INCLUDE_DIR)
endif() endif()
include_directories(include ${ATHENA_INCLUDE_DIR}) include_directories(include ${ATHENA_INCLUDE_DIR})
if(NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1")
endif()
add_library(Math add_library(Math
src/CVector3f.cpp src/CVector3f.cpp