Skip to content

Commit

Permalink
Update warning setting on CmakeLists.txt for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dguittet committed Mar 18, 2021
1 parent f394440 commit 1718d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ if (MSVC)
LINK_FLAGS /SUBSYSTEM:CONSOLE)
endif ()

if (NOT MSVC)
if (UNIX AND NOT APPLE)
file(GLOB DVIEW_SRC_FILES dview/*.cpp)
file(GLOB QHULL_SRC_FILES plot/qhull/*.c)

Expand All @@ -185,7 +185,7 @@ if (NOT MSVC)

set_source_files_properties(${DVIEW_SRC_FILES} ${QHULL_SRC_FILES}
PROPERTIES COMPILE_FLAGS -Wno-unused-but-set-variable)
endif ()
endif ()

target_include_directories(wex PRIVATE ../include freetype/include $ENV{LKDIR}/include ${CURL_DIR}/include)

Expand Down

0 comments on commit 1718d5c

Please sign in to comment.