Explorar el Código

improve CmakeLists file

wb-hx510875 hace 6 años
padre
commit
8bed6eecc7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -61,6 +61,8 @@ endif()
 
 if(BUILD_PRODUCT STREQUAL "")
   message(WARNING   "Please set the value of 'BUILD_PRODUCT'")
+elseif(BUILD_PRODUCT STREQUAL "core")
+  add_subdirectory(core)
 else()
   add_subdirectory(core)
   add_subdirectory(${BUILD_PRODUCT})