Files
triton/python/CMakeLists.txt
2015-01-26 00:56:02 -05:00

10 lines
241 B
CMake

find_program(PYTHON "python")
get_property(LIBATIDLAS_PATH TARGET atidlas PROPERTY LOCATION)
get_filename_component(LIBATIDLAS_DIR ${LIBATIDLAS_PATH} DIRECTORY)
if(PYTHON)
add_subdirectory(pyatidlas)
add_subdirectory(autotune)
endif()