include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. ) add_llvm_library(LLVMPTXInfo PTXTargetInfo.cpp ) add_dependencies(LLVMPTXInfo PTXCodeGenTable_gen)