diff --git a/tools/binpac/CMakeLists.txt b/tools/binpac/CMakeLists.txt index 09cc538e5e..3f7ee54de1 100644 --- a/tools/binpac/CMakeLists.txt +++ b/tools/binpac/CMakeLists.txt @@ -1,4 +1,12 @@ -project(BinPAC) +project(BinPAC C CXX) + +if (NOT CMAKE_C_COMPILER) + message(FATAL_ERROR "Could not find prerequisite C compiler") +endif () + +if (NOT CMAKE_CXX_COMPILER) + message(FATAL_ERROR "Could not find prerequisite C++ compiler") +endif () ######################################################################## ## CMake Configuration