mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Simplify setting TargetDir
replace tabs with spaces Change-Id: Ie4c8f7027b7785b1f83bc29c92cbd9e5b7d98d35 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
@@ -800,15 +800,12 @@ endif()
|
||||
include_directories(${NEO_SOURCE_DIR}/runtime/instrumentation${IGDRCL__INSTRUMENTATION_DIR_SUFFIX})
|
||||
|
||||
# Define where to put binaries
|
||||
if(MSVC)
|
||||
if ("${CMAKE_GENERATOR}" STREQUAL "Ninja")
|
||||
set(TargetDir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
else()
|
||||
if(MSVC)
|
||||
if (NOT "${CMAKE_GENERATOR}" STREQUAL "Ninja")
|
||||
set(TargetDir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_BUILD_TYPE})
|
||||
endif()
|
||||
else()
|
||||
set(TargetDir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||
endif(MSVC)
|
||||
endif()
|
||||
|
||||
add_subdirectory_unique(offline_compiler ${NEO_BUILD_DIR}/offline_compiler)
|
||||
target_compile_definitions(ocloc PRIVATE MOCKABLE_VIRTUAL=)
|
||||
|
||||
Reference in New Issue
Block a user