We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b320bfe commit 8e08f71Copy full SHA for 8e08f71
1 file changed
data/CMakeLists.txt
@@ -1,9 +1,8 @@
1
# To build one or more schemas, configure with
2
# 'cmake -DSC_BUILD_SCHEMAS="path/to/schema.exp;path/to/schema2.exp"
3
4
+if( NOT "${SC_BUILD_SCHEMAS}" STREQUAL "" )
5
include( ${SC_CMAKE_DIR}/schema_scanner/schemaScanner.cmake )
-
6
-if( DEFINED SC_BUILD_SCHEMAS )
7
foreach( src ${SC_SDAI_ADDITIONAL_EXES_SRCS} )
8
get_filename_component( name ${src} NAME_WE )
9
message( STATUS "Additional SDAI executable: ${name}" )
@@ -17,4 +16,4 @@ if( DEFINED SC_BUILD_SCHEMAS )
17
16
LOCATE_SCHEMA( ${FILE} abspath )
18
SCHEMA_CMLIST( ${abspath} )
19
endforeach()
20
-endif()
+endif( NOT "${SC_BUILD_SCHEMAS}" STREQUAL "" )
0 commit comments