Skip to content

Commit

Permalink
Get CMake and vcpkg working again on my local machine
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengtuggy committed Sep 18, 2021
1 parent 184f474 commit 1fe0a81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ IF (POLICY CMP0048)
CMAKE_POLICY (SET CMP0048 NEW)
ENDIF (POLICY CMP0048)

# Very important. Without this, CMake can't find pow() -- at least not on my Windows machine.
# Used to be that without this, CMake couldn't find pow() -- at least not on my Windows machine.
IF (POLICY CMP0066)
CMAKE_POLICY (SET CMP0066 NEW) #OLD
ENDIF ()
Expand All @@ -73,8 +73,6 @@ IF (POLICY CMP0091)
CMAKE_POLICY (SET CMP0091 NEW)
ENDIF ()

SET (VCPKG_INSTALL_OPTIONS "-DCMAKE_SYSTEM_VERSION='10.0.19041.0' -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION='10.0.19041.0' -DVCPKG_CMAKE_SYSTEM_VERSION='10.0.19041.0' -DCMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION='10.0.19041.0'")

PROJECT(Vega_Strike
VERSION
"${VEGASTRIKE_VERSION_MAJOR}.${VEGASTRIKE_VERSION_MINOR}.${VEGASTRIKE_VERSION_PATCH}" #.${VEGASTRIKE_VERSION_TWEAK} # CMake only allows numeric version components, unfortunately.
Expand Down
1 change: 0 additions & 1 deletion engine/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "vega-strike",
"version-string": "0.9.0",
"overrides": [],
"dependencies": [
"boost-python",
"boost-log",
Expand Down

0 comments on commit 1fe0a81

Please sign in to comment.