Skip to content
Snippets Groups Projects
Commit b845722a authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

temporary workarounds

parent 4c720ef2
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,13 @@ IF( NEKTAR++_FOUND ) ...@@ -34,6 +34,13 @@ IF( NEKTAR++_FOUND )
LINK_DIRECTORIES(${NEKTAR++_LIBRARY_DIRS}) LINK_DIRECTORIES(${NEKTAR++_LIBRARY_DIRS})
ADD_DEFINITIONS(${NEKTAR++_DEFINITIONS}) ADD_DEFINITIONS(${NEKTAR++_DEFINITIONS})
# temporary workarounds:
ADD_DEFINITIONS("-DNEKTAR_USING_LAPACK -DNEKTAR_USING_BLAS")
# workaround for libLibUtilities: http://stackoverflow.com/questions/17150075/undefined-reference-to-clock-gettime-although-lrt-is-given
# to fix, add rt to TARGET_LINK_LIBRARIES(LibUtilities ... in library/LibUtilities/CMakeLists.txt:341, but i have no idea how non-Linux
# platforms handle this
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed")
ADD_NEKTAR_EXECUTABLE(${ProjectName} SourceFileNames HeaderFileNames) ADD_NEKTAR_EXECUTABLE(${ProjectName} SourceFileNames HeaderFileNames)
# TODO - If your executable needs to link to any other libraries, # TODO - If your executable needs to link to any other libraries,
......
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