can't use find module for external proj

This commit is contained in:
Stephen Birarda 2015-02-16 09:10:18 -08:00
parent 9683ed92e3
commit a1bf06f004

View file

@ -11,8 +11,6 @@
macro(HIFI_LIBRARY_SEARCH_HINTS LIBRARY_FOLDER)
string(TOUPPER ${LIBRARY_FOLDER} LIBRARY_PREFIX)
set(${LIBRARY_PREFIX}_SEARCH_DIRS "${EXTERNAL_PROJECT_DIR}/${LIBRARY_FOLDER}/build/${LIBRARY_FOLDER}")
if (${LIBRARY_PREFIX}_ROOT_DIR)
list(APPEND ${LIBRARY_PREFIX}_SEARCH_DIRS "${${LIBRARY_PREFIX}_ROOT_DIR}")
endif ()