Skip to content
Snippets Groups Projects
Commit 07285b8a authored by Philip Trettner's avatar Philip Trettner
Browse files

Disabled non-msvc c++ flags for msvc builds

parent dfc45210
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment