summaryrefslogtreecommitdiffstats
path: root/External
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-12-20 05:41:39 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-12-20 05:41:39 +0000
commit45ca3b1c4cfcf791c5884697f18ff96da77a2cdc (patch)
tree9143b7e6945d5fbfa5039bd8d09770c156339e4f /External
parentFixed file paths ('\' -> '/') to fix Android build on linux (diff)
downloadDiligentCore-45ca3b1c4cfcf791c5884697f18ff96da77a2cdc.tar.gz
DiligentCore-45ca3b1c4cfcf791c5884697f18ff96da77a2cdc.zip
Enabling linux build (in progress)
Diffstat (limited to 'External')
-rw-r--r--External/CMakeLists.txt2
-rw-r--r--External/glew/CMakeLists.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/External/CMakeLists.txt b/External/CMakeLists.txt
index 14890b34..55616bd8 100644
--- a/External/CMakeLists.txt
+++ b/External/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6)
-if(PLATFORM_WIN32)
+if(PLATFORM_WIN32 OR PLATFORM_LINUX)
add_subdirectory(glew)
endif()
diff --git a/External/glew/CMakeLists.txt b/External/glew/CMakeLists.txt
index 28f2a493..1562088e 100644
--- a/External/glew/CMakeLists.txt
+++ b/External/glew/CMakeLists.txt
@@ -16,7 +16,8 @@ set_common_target_properties(glew-static)
target_compile_definitions(glew-static
PUBLIC
- -DGLEW_STATIC
+ GLEW_STATIC
+ GLEW_NO_GLU
)
target_include_directories(glew-static