Skip to content

Commit

Permalink
Cleaned up some leftovers in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaa committed Aug 17, 2024
1 parent cb2b65f commit a58b0e9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit a58b0e9

Please sign in to comment.