From a58b0e91c8260e43b5250109003c80e857816b51 Mon Sep 17 00:00:00 2001 From: Jarle Aase Date: Sat, 17 Aug 2024 14:52:42 +0300 Subject: [PATCH] Cleaned up some leftovers in cmake --- CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd5a25a..adac233 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,5 @@ cmake_minimum_required(VERSION 3.10) -# if (UNIX) -# # Ninja creates too many problems while maintaining -# # compatibility with old and new versions of Linux/Cmake -# set (CMAKE_GENERATOR "Unix Makefiles" CACHE INTERNAL "" FORCE) -# endif() - if (DEFINED ENV{RESTC_CPP_VERSION}) set(RESTC_CPP_VERSION $ENV{RESTC_CPP_VERSION}) endif() @@ -303,10 +297,6 @@ if (NOT EMBEDDED_RESTC_CPP) link_directories(${Boost_LIBRARY_DIRS}) endif() - include(cmake_scripts/pch.cmake) - - set_property(TARGET PROPERTY CXX_STANDARD 17) - if(WIN32) add_definitions(-D_WIN32_WINNT=0x0600) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO")