Skip to content

Commit

Permalink
see #20
Browse files Browse the repository at this point in the history
  • Loading branch information
fschloesser committed Sep 27, 2022
1 parent dea16d4 commit 19a6f40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,10 @@ endif()
# install targets
install(TARGETS papilo papilo-core ${CLUSOL_TARGET} EXPORT papilo-targets ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
install(EXPORT papilo-targets DESTINATION lib/cmake/papilo)

if(TARGET papilo-executable)
install(TARGETS papilo-executable ARCHIVE DESTINATION bin LIBRARY DESTINATION lib)
endif()
if(TARGET duplicates)
install(TARGETS duplicates ARCHIVE DESTINATION bin LIBRARY DESTINATION lib)
endif()
3 changes: 3 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ add_executable(unit_test TestMain.cpp
${PAPILOLIB_TEST_FILE})

target_link_libraries(unit_test papilo ${PAPILOLIB_TARGET} ${Boost_LIBRARIES})
if(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
target_link_libraries(unit_test log)
endif()

set(unit_tests
"accurate-numerical-statistics"
Expand Down

0 comments on commit 19a6f40

Please sign in to comment.