mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
Fix cmake error
This commit is contained in:
parent
c6a401e066
commit
58007f1eaf
@ -6,10 +6,6 @@ add_library(gen OBJECT
|
|||||||
mpi_interface.cpp gzstream.cpp
|
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 )
|
set_target_properties( gen PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
|
@ -3,9 +3,6 @@ add_library(gprim OBJECT
|
|||||||
adtree.cpp geom2d.cpp geom3d.cpp geomfuncs.cpp
|
adtree.cpp geom2d.cpp geom3d.cpp geomfuncs.cpp
|
||||||
geomtest3d.cpp transform3d.cpp spline.cpp splinegeometry.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 )
|
set_target_properties( gprim PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
||||||
|
|
||||||
|
@ -4,10 +4,6 @@ add_library( la OBJECT
|
|||||||
|
|
||||||
set_target_properties(la PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
set_target_properties(la PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
||||||
|
|
||||||
if(NOT WIN32)
|
|
||||||
target_link_libraries(la ngcore)
|
|
||||||
endif(NOT WIN32)
|
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
densemat.hpp linalg.hpp opti.hpp
|
densemat.hpp linalg.hpp opti.hpp
|
||||||
polynomial.hpp vector.hpp
|
polynomial.hpp vector.hpp
|
||||||
|
Loading…
Reference in New Issue
Block a user