From 58007f1eaf5eb8409f7affc09bba8a8a79ba4705 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 7 Jan 2019 11:54:28 +0100 Subject: [PATCH] Fix cmake error --- libsrc/general/CMakeLists.txt | 4 ---- libsrc/gprim/CMakeLists.txt | 3 --- libsrc/linalg/CMakeLists.txt | 4 ---- 3 files changed, 11 deletions(-) diff --git a/libsrc/general/CMakeLists.txt b/libsrc/general/CMakeLists.txt index f1c39183..f5c16e82 100644 --- a/libsrc/general/CMakeLists.txt +++ b/libsrc/general/CMakeLists.txt @@ -6,10 +6,6 @@ add_library(gen OBJECT mpi_interface.cpp gzstream.cpp ) -if(NOT WIN32) - target_link_libraries(gen ngcore) -endif(NOT WIN32) - set_target_properties( gen PROPERTIES POSITION_INDEPENDENT_CODE ON ) install(FILES diff --git a/libsrc/gprim/CMakeLists.txt b/libsrc/gprim/CMakeLists.txt index ac4b8f11..3957476a 100644 --- a/libsrc/gprim/CMakeLists.txt +++ b/libsrc/gprim/CMakeLists.txt @@ -3,9 +3,6 @@ add_library(gprim OBJECT adtree.cpp geom2d.cpp geom3d.cpp geomfuncs.cpp geomtest3d.cpp transform3d.cpp spline.cpp splinegeometry.cpp ) -if(NOT WIN32) - target_link_libraries(gprim ngcore) -endif(NOT WIN32) set_target_properties( gprim PROPERTIES POSITION_INDEPENDENT_CODE ON ) diff --git a/libsrc/linalg/CMakeLists.txt b/libsrc/linalg/CMakeLists.txt index 9f35d751..a5a5a4f2 100644 --- a/libsrc/linalg/CMakeLists.txt +++ b/libsrc/linalg/CMakeLists.txt @@ -4,10 +4,6 @@ add_library( la OBJECT set_target_properties(la PROPERTIES POSITION_INDEPENDENT_CODE ON ) -if(NOT WIN32) - target_link_libraries(la ngcore) -endif(NOT WIN32) - install(FILES densemat.hpp linalg.hpp opti.hpp polynomial.hpp vector.hpp