mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only include files from the source directory
We want files from the source directory, relative to the source tree, not everything under the source tree relative to the source sub-dir!
This commit is contained in:
@@ -53,5 +53,5 @@ list (APPEND PROGRAM_SOURCE_FILES)
|
||||
|
||||
# for OPM-material we do not list all headers explicitly. instead we
|
||||
# glob through the source tree...
|
||||
file(GLOB_RECURSE TMP RELATIVE "${CMAKE_SOURCE_DIR}/opm" "*.hh")
|
||||
file(GLOB_RECURSE TMP RELATIVE "${CMAKE_SOURCE_DIR}" "opm/*.hh")
|
||||
list (APPEND PUBLIC_HEADER_FILES ${TMP})
|
||||
|
||||
Reference in New Issue
Block a user