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:
Markus Blatt 2020-04-02 19:44:32 +02:00
parent fd221bb949
commit c7e70da2c5

View File

@ -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")