OrcaSlicer/deps_src/fast_float/CMakeLists.txt
Dipl.-Ing. Raoul Rubien, BSc 75ed995b00
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
2025-09-19 23:45:03 +08:00

16 lines
363 B
CMake

cmake_minimum_required(VERSION 3.13)
project(fast_float)
add_library(fast_float INTERFACE)
target_include_directories(fast_float SYSTEM
INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}
)
target_sources(fast_float INTERFACE
${CMAKE_CURRENT_SOURCE_DIR}/fast_float.h
)
# Require C++14 for fast_float
target_compile_features(fast_float INTERFACE cxx_std_14)