nc: write fewer status messages
This commit is contained in:
parent
dc52274971
commit
1dd0984040
8
nc.cmake
8
nc.cmake
@ -17,16 +17,16 @@ link_libraries (Threads::Threads)
|
|||||||
# files so that we can reliably point to soure files contained therein
|
# files so that we can reliably point to soure files contained therein
|
||||||
# (eg, the search_lib.cpp tests and friends).
|
# (eg, the search_lib.cpp tests and friends).
|
||||||
foreach (d ${CMAKE_MODULE_PATH})
|
foreach (d ${CMAKE_MODULE_PATH})
|
||||||
message (STATUS testing nc_cmake_base at "${d}")
|
|
||||||
if (EXISTS "${d}/nc.cmake")
|
if (EXISTS "${d}/nc.cmake")
|
||||||
set (NC_CMAKE_BASE "${d}")
|
set (NC_CMAKE_BASE "${d}")
|
||||||
message (STATUS testing nc_cmake_base at "${d} - found")
|
|
||||||
break()
|
break()
|
||||||
else ()
|
|
||||||
message (STATUS testing nc_cmake_base at "${d} - not found")
|
|
||||||
endif ()
|
endif ()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if (NOT NC_CMAKE_BASE)
|
||||||
|
message (FATAL_ERROR "Unable to locate the NC CMake directory")
|
||||||
|
endif ()
|
||||||
|
|
||||||
include (nc_cxx)
|
include (nc_cxx)
|
||||||
include (nc_sanitizer)
|
include (nc_sanitizer)
|
||||||
include (nc_platform)
|
include (nc_platform)
|
||||||
|
Loading…
Reference in New Issue
Block a user