cmake: fix typo in ROCR_LIB_DIR detection

This commit is contained in:
Anthony Cowley authored and Chris Freehill committed 2019-06-19 13:44:12 -05:00
1 parent cfbbb52395
commit ca841958af
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ if(NOT ROCR_INC_DIR)
endif()
find_path(ROCR_LIB_DIR libhsa-runtime64.so PATH_SUFFIXES lib PATHS /opt/rocm)
if(NOT ROCR_INC_DIR)
if(NOT ROCR_LIB_DIR)
message(FATAL_ERROR "Can't find libhsa-runtime64.so.")
endif()