mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Fixes 50 Compiler Warnings: Add SYSTEM toCMakeLists.txt (#10653)
* src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories() * src/*/CMakeLists.txt: removes duplicate sources from lisbslic3r_sources and SLIC3R_GUI_SOURCES" * .gititnore: adds CMakeLists.txt.user and CMakeLists.txt.autosave * deps_src/*/CMakeLists.txt: adds SYSTEM to arget_include_directories() * removes #pragma once from .cpp file
This commit is contained in:
committed by
GitHub
parent
94cc5465f1
commit
75ed995b00
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
project(glu-libtess)
|
||||
|
||||
add_library(glu-libtess STATIC
|
||||
add_library(glu-libtess STATIC
|
||||
src/dict-list.h
|
||||
src/dict.c
|
||||
src/dict.h
|
||||
@@ -34,4 +34,8 @@ if(UNIX)
|
||||
target_link_libraries(glu-libtess m)
|
||||
endif(UNIX)
|
||||
|
||||
target_include_directories(glu-libtess PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
target_include_directories(glu-libtess SYSTEM
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include)
|
||||
|
||||
Reference in New Issue
Block a user