Skip to content
Snippets Groups Projects
Commit 5f3bab41 authored by Jesse Mapel's avatar Jesse Mapel Committed by GitHub
Browse files

Updated cmake stuff (#285)

* Updated cmake stuff

* More updates
parent 1527c76b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
# Specify the required version of CMake.
# cmake 3.10 required for ctest/gtest integration
cmake_minimum_required(VERSION 3.10)
project(ale VERSION 0.3.0 DESCRIPTION "Abstraction Library for Ephemerides ")
project(ale VERSION 0.5.0 DESCRIPTION "Abstraction Library for Ephemerides ")
# include what we need
include(GNUInstallDirs)
......@@ -48,14 +48,6 @@ if(BUILD_TESTS)
include(CTest)
find_package (Threads)
target_link_libraries(ale
PRIVATE
GSL::gsl
GSL::gslcblas
Python::Python
PUBLIC
gtest ${CMAKE_THREAD_LIBS_INIT})
enable_testing()
add_subdirectory(tests/ctests)
......
......@@ -6,12 +6,12 @@ file(GLOB test_source "${CMAKE_SOURCE_DIR}/tests/ctests/*.cpp")
# setup test executable
add_executable(runAleTests ${test_source})
target_link_libraries(runAleTests
PRIVATE
ale
GSL::gsl
GSL::gslcblas
Eigen3::Eigen
${GTEST_LIBRARIES}
${GTEST_MAIN_LIBRARIES}
pthread)
gtest
Threads::Threads)
gtest_discover_tests(runAleTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/ctests)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment