mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-10-13 03:51:32 +08:00

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
25 lines
503 B
CMake
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)
|
|
|
|
|