diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-12-20 05:41:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-12-20 05:41:39 +0000 |
| commit | 45ca3b1c4cfcf791c5884697f18ff96da77a2cdc (patch) | |
| tree | 9143b7e6945d5fbfa5039bd8d09770c156339e4f /External | |
| parent | Fixed file paths ('\' -> '/') to fix Android build on linux (diff) | |
| download | DiligentCore-45ca3b1c4cfcf791c5884697f18ff96da77a2cdc.tar.gz DiligentCore-45ca3b1c4cfcf791c5884697f18ff96da77a2cdc.zip | |
Enabling linux build (in progress)
Diffstat (limited to 'External')
| -rw-r--r-- | External/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | External/glew/CMakeLists.txt | 3 |
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 |
