Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ project(chipStar
DESCRIPTION "HIP implementation for runtimes that support SPIR-V"
LANGUAGES NONE)

# Include our own headers in case someone installs chipStar to the same dir as LLVM
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

include(FindLLVM) # Enables C, CXX
include(LLVMCheck)
include(chip_spv_cmake_macros)
Expand Down Expand Up @@ -108,8 +111,6 @@ if(NOT DEFINED LevelZero_LIBRARY)
find_library(LevelZero_LIBRARY NAMES ze_loader PATHS ENV LD_LIBRARY_PATH NO_CACHE)
endif()

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

if(LevelZero_LIBRARY)
get_filename_component(LevelZeroLib_DIR ${LevelZero_LIBRARY} DIRECTORY CACHE)
# Check if the library is in the system path
Expand Down