Do not call project another time in OpmLibMain
Each project should and does this in their own top level CMakeLists.cmake at the very beginning anyway.
This commit is contained in:
parent
fd221bb949
commit
c7e70da2c5
@ -59,11 +59,6 @@ endif (CMAKE_VERSION VERSION_LESS "2.8.7")
|
||||
include (AddOptions)
|
||||
no_default_options ()
|
||||
|
||||
# C++ project
|
||||
project (${${project}_NAME})
|
||||
enable_language (C)
|
||||
enable_language (CXX)
|
||||
|
||||
# Languages and global compiler settings
|
||||
if(CMAKE_VERSION VERSION_LESS 3.8)
|
||||
message(WARNING "CMake version does not support c++17, guessing -std=c++17")
|
||||
|
Loading…
Reference in New Issue
Block a user