Skip to content

Commit

Permalink
fix cmake&clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed Apr 6, 2019
1 parent ab09b09 commit 95a15a7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -111,8 +111,8 @@ if (WIN32)
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8")
add_definitions(-DNOMINMAX)
if (NOT CLANG)
add_definitions(-DNOMINMAX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
endif()
endif()
Expand Down
2 changes: 0 additions & 2 deletions src/viewer/scrollview.cpp
Expand Up @@ -18,8 +18,6 @@
///////////////////////////////////////////////////////////////////////
//

#define NOMINMAX

#include <algorithm>
#include <climits>
#include <cstdarg>
Expand Down

0 comments on commit 95a15a7

Please sign in to comment.