added preinstall script

This commit is contained in:
Philippe Tillet
2015-01-26 00:56:02 -05:00
parent 6d7f103ab1
commit 909e4b16a0
6 changed files with 42 additions and 30 deletions

View File

@@ -3,7 +3,7 @@ find_program(PYTHON "python")
get_property(LIBATIDLAS_PATH TARGET atidlas PROPERTY LOCATION)
get_filename_component(LIBATIDLAS_DIR ${LIBATIDLAS_PATH} DIRECTORY)
if (PYTHON)
if(PYTHON)
add_subdirectory(pyatidlas)
add_subdirectory(autotune)
endif()