improve CmakeLists file
This commit is contained in:
@@ -61,6 +61,8 @@ endif()
|
|||||||
|
|
||||||
if(BUILD_PRODUCT STREQUAL "")
|
if(BUILD_PRODUCT STREQUAL "")
|
||||||
message(WARNING "Please set the value of 'BUILD_PRODUCT'")
|
message(WARNING "Please set the value of 'BUILD_PRODUCT'")
|
||||||
|
elseif(BUILD_PRODUCT STREQUAL "core")
|
||||||
|
add_subdirectory(core)
|
||||||
else()
|
else()
|
||||||
add_subdirectory(core)
|
add_subdirectory(core)
|
||||||
add_subdirectory(${BUILD_PRODUCT})
|
add_subdirectory(${BUILD_PRODUCT})
|
||||||
|
|||||||
Reference in New Issue
Block a user