mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Change to use ampl/gsl rather than lindkvis/gsl
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -3,4 +3,4 @@
|
|||||||
url = https://github.com/microsoft/vcpkg
|
url = https://github.com/microsoft/vcpkg
|
||||||
[submodule "ThirdParty/gsl"]
|
[submodule "ThirdParty/gsl"]
|
||||||
path = ThirdParty/gsl
|
path = ThirdParty/gsl
|
||||||
url = https://github.com/lindkvis/gsl/
|
url = https://github.com/ampl/gsl/
|
||||||
|
|||||||
14
ThirdParty/Qwt/src/CMakeLists.txt
vendored
14
ThirdParty/Qwt/src/CMakeLists.txt
vendored
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 3.6.2)
|
||||||
|
|
||||||
project(Qwt)
|
project(Qwt)
|
||||||
|
|
||||||
@@ -274,15 +274,9 @@ qwt_thermo.h
|
|||||||
qwt_wheel.h
|
qwt_wheel.h
|
||||||
)
|
)
|
||||||
|
|
||||||
if (RESINSIGHT_BUILD_WITH_QT5)
|
find_package(Qt5 COMPONENTS REQUIRED Concurrent Core Gui OpenGL PrintSupport Widgets)
|
||||||
find_package(Qt5 COMPONENTS REQUIRED Concurrent Core Gui OpenGL PrintSupport Widgets)
|
set(QT_LIBRARIES Qt5::Concurrent Qt5::Core Qt5::Gui Qt5::OpenGL Qt5::PrintSupport Qt5::Widgets)
|
||||||
set(QT_LIBRARIES Qt5::Concurrent Qt5::Core Qt5::Gui Qt5::OpenGL Qt5::PrintSupport Qt5::Widgets)
|
qt5_wrap_cpp(MOC_SOURCE_FILES ${MOC_HEADER_FILES})
|
||||||
qt5_wrap_cpp(MOC_SOURCE_FILES ${MOC_HEADER_FILES})
|
|
||||||
else()
|
|
||||||
find_package(Qt4 COMPONENTS QtCore QtGui QtMain QtOpenGl REQUIRED)
|
|
||||||
include(${QT_USE_FILE})
|
|
||||||
qt4_wrap_cpp(MOC_SOURCE_FILES ${MOC_HEADER_FILES})
|
|
||||||
endif(RESINSIGHT_BUILD_WITH_QT5)
|
|
||||||
|
|
||||||
add_library(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SOURCE_FILES})
|
add_library(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SOURCE_FILES})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user