Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
fypc committed Aug 23, 2021
1 parent 1d75701 commit d9bdf7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ add_library (JonkerVolgenant SHARED
src/interface.c
)

# Enable relative RPATH

set_target_properties(JonkerVolgenant PROPERTIES PUBLIC_HEADER src/assignAlgs2D.h)
set_property(TARGET JonkerVolgenant PROPERTY C_STANDARD 99)
set_property(TARGET JonkerVolgenant PROPERTY C_STANDARD_REQUIRED TRUE)
target_include_directories(JonkerVolgenant PRIVATE .)
install(TARGETS JonkerVolgenant DESTINATION lib)


0 comments on commit d9bdf7b

Please sign in to comment.