mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-08-17 16:57:11 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
c0dfb54813
commit
bd171d2cee
@ -1,6 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
project(BeamMP-Launcher)
|
||||
|
||||
set(wxBUILD_SHARED OFF)
|
||||
add_subdirectory(wxWidgets)
|
||||
|
||||
if (WIN32)
|
||||
message(STATUS "MSVC -> forcing use of statically-linked runtime.")
|
||||
STRING(REPLACE "/MD" "/MT" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
|
||||
@ -14,9 +17,6 @@ if (WIN32)
|
||||
link_directories(${VcpkgRoot}/lib)
|
||||
endif(WIN32)
|
||||
|
||||
set(wxBUILD_SHARED OFF)
|
||||
add_subdirectory(wxWidgets)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
|
||||
|
Loading…
x
Reference in New Issue
Block a user