diff options
Diffstat (limited to 'mpm/CMakeLists.txt')
-rw-r--r-- | mpm/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mpm/CMakeLists.txt b/mpm/CMakeLists.txt index 4f6c3b651..78759cc0b 100644 --- a/mpm/CMakeLists.txt +++ b/mpm/CMakeLists.txt @@ -123,7 +123,7 @@ if(_has_no_psabi) message(STATUS "Disabling psABI warnings.") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-psabi") endif(_has_no_psabi) -set(MPM_ALL_DEVICES n3xx e320 tests) +set(MPM_ALL_DEVICES n3xx e320 e31x tests) set(MPM_DEVICE "n3xx" CACHE STRING "Choose an MPM device to build") set_property(CACHE MPM_DEVICE PROPERTY STRINGS ${MPM_ALL_DEVICES}) # Validate MPM_DEVICE @@ -139,12 +139,15 @@ if(MPM_DEVICE STREQUAL "n3xx") set(ENABLE_MAGNESIUM ON) elseif(MPM_DEVICE STREQUAL "e320") set(ENABLE_E320 ON) +elseif(MPM_DEVICE STREQUAL "e31x") + set(ENABLE_E300 ON) endif() MPM_REGISTER_COMPONENT("LibMPM" ENABLE_LIBMPM ON "Boost_FOUND" OFF ON) MPM_REGISTER_COMPONENT("Mykonos" ENABLE_MYKONOS ON "ENABLE_LIBMPM" OFF OFF) MPM_REGISTER_COMPONENT("Magnesium" ENABLE_MAGNESIUM ON "ENABLE_MYKONOS" OFF OFF) MPM_REGISTER_COMPONENT("E320" ENABLE_E320 ON "ENABLE_LIBMPM" OFF OFF) +MPM_REGISTER_COMPONENT("E300" ENABLE_E300 ON "ENABLE_LIBMPM" OFF OFF) add_subdirectory(include) include_directories( |