From 1718d5c3e0699c4dd5fb195296cd983221763262 Mon Sep 17 00:00:00 2001 From: dguittet Date: Thu, 18 Mar 2021 17:36:50 -0600 Subject: [PATCH] Update warning setting on CmakeLists.txt for Linux --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 077b6d7f..d16aa956 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) @@ -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)