Commit 69179ee8 authored by Georg Martin Reinke's avatar Georg Martin Reinke
Browse files

fix CI

parent 4df295cc
...@@ -18,7 +18,7 @@ build: ...@@ -18,7 +18,7 @@ build:
script: script:
- mkdir Source/build - mkdir Source/build
- cd Source/build - cd Source/build
- cmake -DEigen3_DIR=/usr/share/eigen3 .. - cmake ..
- make - make
image: ${DOCKER_IMAGE} image: ${DOCKER_IMAGE}
tags: tags:
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
project(DPsim) project(DPsim)
find_package(Eigen3 REQUIRED NO_MODULE) find_package(Eigen3 REQUIRED)
add_subdirectory(CIM-XML-Parser) add_subdirectory(CIM-XML-Parser)
file(GLOB SOURCES *.cpp Components/*.cpp Examples/*.cpp) file(GLOB SOURCES *.cpp Components/*.cpp Examples/*.cpp)
add_executable(DPSolver ${SOURCES}) add_executable(DPSolver ${SOURCES})
target_link_libraries(DPSolver Eigen3::Eigen CIMParser -lrt -lvillas-ext) include_directories(${EIGEN3_INCLUDE_DIR})
target_link_libraries(DPSolver CIMParser -lrt -lvillas-ext)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment