diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fc1ce95..1ed58322 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20) project ( - IPhreeqc + litephreeqc VERSION 3.8.5 LANGUAGES CXX C ) @@ -24,6 +24,8 @@ if (STANDALONE_BUILD) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") endif() +if (WIN32) + message(FATAL_ERROR "litephreeqc cannot be built on Windows systems.") endif() # overide docdir on windows diff --git a/litephreeqc/CMakeLists.txt b/litephreeqc/CMakeLists.txt index 70730848..05d0a629 100644 --- a/litephreeqc/CMakeLists.txt +++ b/litephreeqc/CMakeLists.txt @@ -1,6 +1,3 @@ -if (WIN32) - message(FATAL_ERROR "litephreeqc cannot be built on Windows systems.") -endif() set(LPQC_SOURCE_FILES src/Engine.cpp