Skip to content
Snippets Groups Projects
Commit 9d53ba9e authored by Lars Bilke's avatar Lars Bilke
Browse files

Linker fix when not using VTKs NetCDF.

parent 2753e39d
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ENDIF (Shapelib_FOUND) ...@@ -24,7 +24,7 @@ ENDIF (Shapelib_FOUND)
# Create the library # Create the library
ADD_LIBRARY(FileIO STATIC ${SOURCES}) ADD_LIBRARY(FileIO STATIC ${SOURCES})
include_directories( INCLUDE_DIRECTORIES(
. .
${CMAKE_SOURCE_DIR}/BaseLib ${CMAKE_SOURCE_DIR}/BaseLib
${CMAKE_SOURCE_DIR}/FemLib ${CMAKE_SOURCE_DIR}/FemLib
...@@ -35,8 +35,11 @@ include_directories( ...@@ -35,8 +35,11 @@ include_directories(
${CMAKE_BINARY_DIR}/BaseLib ${CMAKE_BINARY_DIR}/BaseLib
) )
target_link_libraries (FileIO TARGET_LINK_LIBRARIES (FileIO
GeoLib GeoLib
MeshLib MeshLib
) )
IF (Shapelib_FOUND)
TARGET_LINK_LIBRARIES (FileIO ${Shapelib_LIBRARIES})
ENDIF (Shapelib_FOUND)
\ No newline at end of file
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