mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-24 16:56:25 -06:00
Use full path in examples_SOURCES
That's the convention used elsewhere in the build system and we should honour that convention. While here, remove the assignment to PROGRAM_SOURCE_FILES because that variable is no longer referenced once we start to run the hooks.
This commit is contained in:
parent
c3bb686600
commit
433be936e4
@ -55,9 +55,8 @@ endmacro (prereqs_hook)
|
||||
macro (sources_hook)
|
||||
if(DUNE_CORNERPOINT_FOUND OR dune-cornerpoint_FOUND)
|
||||
list (APPEND examples_SOURCES
|
||||
examples/sim_fibo_ad_cp.cpp)
|
||||
list (APPEND PROGRAM_SOURCE_FILES
|
||||
examples/sim_fibo_ad_cp.cpp)
|
||||
${PROJECT_SOURCE_DIR}/examples/sim_fibo_ad_cp.cpp
|
||||
)
|
||||
endif()
|
||||
endmacro (sources_hook)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user