Skip to content

Commit

Permalink
Adding default build output directory to be set to CMAKE_CURRENT_BINA…
Browse files Browse the repository at this point in the history
…RY_DIR for Open Source builds

Change-Id: I588344aac582db4862138e3a90aff1bb6045512b
  • Loading branch information
paigeale authored and gfxbot committed Jan 18, 2019
1 parent 3d319c9 commit cb807ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IGC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ set(IGC_OPTION__USCLAUNCHER_TOOL OFF CACHE BOOL

igc_arch_get_cpu(_cpuSuffix)
if(NOT DEFINED IGC_OPTION__OUTPUT_DIR)
set(IGC_OPTION__OUTPUT_DIR "${IGC_SOURCE_DIR}/../../dump${_cpuSuffix}/igc" CACHE PATH "Output directory path where the final libraries will be stored.")
set(IGC_OPTION__OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}" CACHE PATH "Output directory path where the final libraries will be stored.")
endif()
get_filename_component(IGC_OPTION__OUTPUT_DIR ${IGC_OPTION__OUTPUT_DIR} ABSOLUTE)
set(USC_OPTION__OUTPUT_DIR "${IGC_SOURCE_DIR}/../../dump${_cpuSuffix}/usc" CACHE PATH "Output directory path where the final USC libraries will be stored.")
Expand Down

0 comments on commit cb807ee

Please sign in to comment.