Merge pull request #1117 from akva2/move_parserkeywords_build

changed: put the generated ParserKeywords.cpp first in list
This commit is contained in:
Joakim Hove
2019-10-17 15:05:59 +02:00
committed by GitHub

View File

@@ -111,7 +111,7 @@ macro (sources_hook)
include(GenerateKeywords.cmake)
# Append generated sources
list(APPEND opm-common_SOURCES ${PROJECT_BINARY_DIR}/ParserKeywords.cpp)
list(INSERT opm-common_SOURCES 0 ${PROJECT_BINARY_DIR}/ParserKeywords.cpp)
endif()
set_source_files_properties(src/opm/parser/eclipse/Python/Python.cpp
PROPERTIES COMPILE_FLAGS -Wno-shadow)