summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJason Maskell <Jason Maskell>2016-07-26 16:21:57 +0700
committerJason Maskell <Jason Maskell>2016-07-26 16:21:57 +0700
commit9d3f79f7e7e68ca9e296368587ab22494ffaf19b (patch)
treeeaa4190d763f6504ba5ba91fe367c937406a2a45 /CMakeLists.txt
parentModified finders to take Visual Studio platform into account when finding lib... (diff)
downloadwaveworks_archive-9d3f79f7e7e68ca9e296368587ab22494ffaf19b.tar.xz
waveworks_archive-9d3f79f7e7e68ca9e296368587ab22494ffaf19b.zip
Added Packman support - now the GenerateProjects.bat uses Packman to pull dependencies specified in WaveWorksDependencies.xml
Finders of these dependencies are modified to look in the Packman repo.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 07a7be5..ecf6ac8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,15 +4,12 @@ project(WaveWorks CXX)
CMAKE_POLICY(SET CMP0057 NEW) # Enable IN_LIST
-SET(GW_DEPS_ROOT $ENV{GW_DEPS_ROOT})
+SET(GW_DEPS_ROOT $ENV{PM_PACKAGES_ROOT})
LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
-LIST(APPEND CMAKE_MODULE_PATH ${GW_DEPS_ROOT}CMakeModules)
MESSAGE(${CMAKE_MODULE_PATH})
-
-
# TODO: Fail if we didn't find deps
IF(CMAKE_CONFIGURATION_TYPES)
@@ -26,8 +23,6 @@ IF(CMAKE_CONFIGURATION_TYPES)
ENDIF()
-SET(GW_DEPS_ROOT $ENV{GW_DEPS_ROOT})
-
# Handle different platforms. So far, Windows, PS4, XBone, Linux... More?
IF(NOT DEFINED TARGET_BUILD_PLATFORM) # Not defined, default to Windows
SET(TARGET_BUILD_PLATFORM "Windows")