mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
cmake: allow per-branch file include
Change-Id: Ic313754a6fb1690bff2bd277f06eaedbb9460f11 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
a5e4edb327
commit
d4b12c97d4
@@ -77,6 +77,8 @@ if(DEFINED NEO_EXTRA_DEFINES)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
include("${BRANCH_TYPE}.cmake" OPTIONAL)
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE)
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
message(STATUS "CMAKE_BUILD_TYPE not specified, using Release")
|
message(STATUS "CMAKE_BUILD_TYPE not specified, using Release")
|
||||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type: [Release, ReleaseInternal, Debug]" FORCE)
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type: [Release, ReleaseInternal, Debug]" FORCE)
|
||||||
|
|||||||
Reference in New Issue
Block a user