Skip to content

Commit

Permalink
Auto stash before merge of "master" and "origin/master"
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstenko committed Nov 23, 2022
1 parent b58395b commit 0b15292
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Empty file added core2/CMakeLists.txt
Empty file.
1 change: 1 addition & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include(filament.cmake)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
Expand Down
12 changes: 12 additions & 0 deletions external/filament.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://github.com/google/filament.git
#SET(ENABLE_PCH OFF CACHE BOOL "ENABLE_PCH")
SET_PROPERTY(GLOBAL PROPERTY SKIP_PRECOMPILE_HEADERS ON)
SET_PROPERTY(GLOBAL PROPERTY DISABLE_PRECOMPILE_HEADERS ON)
CPMAddPackage(GITHUB_REPOSITORY google/filament
GIT_TAG v1.29.0
OPTIONS "ENABLE_PCH OFF" "ENABLE_OPT OFF"
)
find_package(filament REQUIRED)
IF(filament_ADDED)
MESSAGE(STATUS filament_ADDED)
ENDIF()

0 comments on commit 0b15292

Please sign in to comment.