From d3f68310a60b6dc774de8320c8c66fcae03ab3f9 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Wed, 8 Apr 2020 15:48:30 -0400 Subject: [PATCH] [cmake] Use target_link_libraries with keyword for cpp2py modules --- python/converters/plovasp/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/converters/plovasp/CMakeLists.txt b/python/converters/plovasp/CMakeLists.txt index 9f2fbdaa..f1617e58 100644 --- a/python/converters/plovasp/CMakeLists.txt +++ b/python/converters/plovasp/CMakeLists.txt @@ -1,6 +1,6 @@ # === Build and install atm module add_cpp2py_module(atm) -target_link_libraries(atm atm_c triqs) +target_link_libraries(atm PRIVATE atm_c triqs) target_compile_options(atm PRIVATE -std=c++17) target_include_directories(atm PRIVATE ${CMAKE_SOURCE_DIR}/c++)