Commit 25c36eb0 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

simplify CMakeLists.txt

parent 197694f9
......@@ -64,8 +64,7 @@ if(WITH_OPENMP)
list(APPEND LIBRARIES ${OpenMP_CXX_FLAGS})
endif()
add_library(dpsim)
target_sources(dpsim PRIVATE ${SOURCES})
add_library(dpsim ${SOURCES})
target_link_libraries(dpsim ${LIBRARIES})
target_include_directories(dpsim PUBLIC ${INCLUDE_DIRS})
target_compile_options(dpsim PUBLIC ${DPSIM_CXX_FLAGS})
......
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