Skip to content
Snippets Groups Projects
Commit 27eb90b0 authored by Tom Fischer's avatar Tom Fischer
Browse files

try to fix linker problems

parent e0e63976
No related branches found
No related tags found
No related merge requests found
...@@ -12,22 +12,26 @@ INCLUDE_DIRECTORIES( ...@@ -12,22 +12,26 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/MeshLib/ ${CMAKE_SOURCE_DIR}/MeshLib/
) )
# Create the executable IF(VTK_FOUND)
ADD_EXECUTABLE( MeshRead INCLUDE( ${VTK_USE_FILE} )
MeshRead.cpp
${SOURCES}
${HEADERS}
)
TARGET_LINK_LIBRARIES ( MeshRead # Create the executable
MeshLib ADD_EXECUTABLE( MeshRead
FileIO MeshRead.cpp
MathLib ${SOURCES}
BaseLib ${HEADERS}
GeoLib )
logog
${ADDITIONAL_LIBS} TARGET_LINK_LIBRARIES ( MeshRead
) MeshLib
FileIO
MathLib
BaseLib
GeoLib
logog
${ADDITIONAL_LIBS}
)
ENDIF()
# Create CollapseMeshNodes executable # Create CollapseMeshNodes executable
ADD_EXECUTABLE( CollapseMeshNodes ADD_EXECUTABLE( CollapseMeshNodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment