Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy authored Dec 22, 2024
1 parent 5dea315 commit 21c4fe8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ SET(VEGASTRIKE_ASSETS_API_VERSION "3")
#IF (POLICY CMP0091)
# CMAKE_POLICY (SET CMP0091 NEW)
#ENDIF ()
#
## Use old behavior for Boost detection. Applies to CMake 3.30 and up
IF (POLICY CMP0167)
CMAKE_POLICY (SET CMP0167 OLD)
ENDIF ()

PROJECT(Vega_Strike
VERSION
Expand Down Expand Up @@ -155,6 +160,10 @@ UNSET(FFMPEG_FOUND)
UNSET(OGRE_FOUND)
UNSET(Boost_DIR)

IF (CMAKE_SYSTEM_NAME STREQUAL Darwin)
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
ENDIF ()

SET(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
SET(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
INCLUDE(InstallRequiredSystemLibraries)
Expand Down

0 comments on commit 21c4fe8

Please sign in to comment.