PrusaSlicer/src/boost/CMakeLists.txt
tamasmeszaros 883f46662d Fix warnings when newer CMake is used.
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages. 

Newer CMake versions complain that compatibility is broken with v2.6
2021-08-20 13:42:10 +02:00

25 lines
503 B
CMake

cmake_minimum_required(VERSION 2.8.12)
project(nowide)
add_library(nowide STATIC
nowide/args.hpp
nowide/cenv.hpp
nowide/config.hpp
nowide/convert.hpp
nowide/cstdio.hpp
nowide/cstdlib.hpp
nowide/filebuf.hpp
nowide/fstream.hpp
nowide/integration/filesystem.hpp
nowide/iostream.cpp
nowide/iostream.hpp
nowide/stackstring.hpp
nowide/system.hpp
nowide/utf8_codecvt.hpp
nowide/windows.hpp
)
target_link_libraries(nowide PUBLIC boost_headeronly)