@@ -62,11 +62,11 @@ endif(COMMAND CMAKE_POLICY)
6262# CMake derives much of its functionality from modules, typically
6363# stored in one directory - let CMake know where to find them.
6464set (SC_CMAKE_DIR "${SC_SOURCE_DIR} /cmake" )
65- if (NOT IS_SUBBUILD )
65+ if (NOT SC_IS_SUBBUILD )
6666 set (CMAKE_MODULE_PATH "${SC_CMAKE_DIR} ;${CMAKE_MODULE_PATH} " )
67- else (NOT IS_SUBBUILD )
67+ else (NOT SC_IS_SUBBUILD )
6868 set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH} ;${SC_CMAKE_DIR} " )
69- endif (NOT IS_SUBBUILD )
69+ endif (NOT SC_IS_SUBBUILD )
7070
7171# testing and compilation options, build output dirs, install dirs, uninstall, package creation, etc
7272include (${SC_CMAKE_DIR} /SC_Build_opts.cmake )
@@ -95,10 +95,12 @@ if(NOT DEFINED SC_BUILD_SCHEMAS)
9595 set (SC_BUILD_SCHEMAS "ALL" CACHE string "Semicolon-separated list of paths to EXPRESS schemas to be built" )
9696endif (NOT DEFINED SC_BUILD_SCHEMAS )
9797
98- list (APPEND CONFIG_END_MESSAGES
99- ".. Don't worry about any messages above about missing headers or failed tests, as long as"
100- " you see 'Configuring done' below. Headers and features vary by compiler."
101- ".. Generating step can take a while if you are building several schemas." )
98+ if (NOT SC_IS_SUBBUILD)
99+ list (APPEND CONFIG_END_MESSAGES
100+ ".. Don't worry about any messages above about missing headers or failed tests, as long as"
101+ " you see 'Configuring done' below. Headers and features vary by compiler."
102+ ".. Generating step can take a while if you are building several schemas." )
103+ endif (NOT SC_IS_SUBBUILD )
102104
103105# create config headers sc_cf.h and sc_version_string.h
104106include (${SC_CMAKE_DIR} /SC_Config_Headers.cmake )
0 commit comments