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