# Sometimes our users will try to do: "cd slmicro5; cmake ." That needs to error in a nice way. if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") message(FATAL_ERROR "cmake has to be used on the root CMakeLists.txt, see the Building ComplianceAsCode section in the Developer Guide!") endif() set(PRODUCT "slmicro5") ssg_build_product("slmicro5") ssg_build_html_cce_table(${PRODUCT}) ssg_build_html_stig_tables(${PRODUCT}) ssg_build_html_stig_tables_per_profile(${PRODUCT} "stig")