# # Set up asp_mic libraries for the sample app. # # To build with asp_mic, run the following command, # cmake # -DASPMIC=ON # -DASPMIC_LIB_PATH= # -DASPMIC_INCLUDE_DIR= # option(ASPMIC "Enable asp_mic for the sample app." OFF) set(ASPMIC_INCLUDE_DIR "" CACHE PATH "asp_mic include directory.") mark_as_dependent(ASPMIC_INCLUDE_DIR ASPMIC) if(ASPMIC) if(NOT ASPMIC_INCLUDE_DIR) message(FATAL_ERROR "Must pass include dir path of asp_mic to enable it.") return() endif() add_definitions("-DASPMIC") endif()