Commit 07285b8a authored by Philip Trettner's avatar Philip Trettner

Disabled non-msvc c++ flags for msvc builds

parent dfc45210
Pipeline #754 passed with stage
......@@ -67,10 +67,12 @@ target_include_directories(ACGL PUBLIC
)
# Compile flags
if(NOT MSVC)
target_compile_options(ACGL PUBLIC
$<$<COMPILE_LANGUAGE:CXX>:-std=c++11> # C++11 for C++ files
-Wno-strict-aliasing # Temporary fix for https://github.com/g-truc/glm/issues/473
)
endif()
# WIN32 define
IF(WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment