Using find_package(phreeqc4rkt)
@@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.17)
project(app LANGUAGES CXX)
-find_library(phreeqc4rkt REQUIRED)
+find_package(phreeqc4rkt REQUIRED)
add_executable(app main.cpp)
-target_link_libraries(app phreeqc4rkt)
+target_link_libraries(app phreeqc4rkt::phreeqc4rkt)
