mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2536 Build System VizFwk : Use target_* and remove includes
This commit is contained in:
@@ -9,14 +9,6 @@ include (${QT_USE_FILE})
|
||||
# Open GL
|
||||
find_package( OpenGL )
|
||||
|
||||
include_directories(
|
||||
${LibCore_SOURCE_DIR}
|
||||
${LibGeometry_SOURCE_DIR}
|
||||
${LibGuiQt_SOURCE_DIR}
|
||||
${LibRender_SOURCE_DIR}
|
||||
${LibViewing_SOURCE_DIR}
|
||||
)
|
||||
|
||||
# These headers need to go through Qt's MOC compiler
|
||||
set( QOBJECT_HEADERS
|
||||
cafMessagePanel.h
|
||||
|
||||
@@ -6,10 +6,6 @@ project (cafPdmCvf)
|
||||
find_package ( Qt4 COMPONENTS QtCore QtGui QtMain )
|
||||
include (${QT_USE_FILE})
|
||||
|
||||
include_directories(
|
||||
${LibCore_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_library( ${PROJECT_NAME}
|
||||
cafPdmCoreColor3f.h
|
||||
cafPdmUiCoreColor3f.cpp
|
||||
|
||||
@@ -2,10 +2,6 @@ cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
project (cafTensor)
|
||||
|
||||
include_directories (
|
||||
${LibCore_SOURCE_DIR}
|
||||
)
|
||||
|
||||
set( PROJECT_FILES
|
||||
cafTensor3.cpp
|
||||
cafTensor3.h
|
||||
|
||||
@@ -6,14 +6,6 @@ project (cafViewer)
|
||||
find_package ( Qt4 COMPONENTS QtCore QtGui QtMain )
|
||||
include (${QT_USE_FILE})
|
||||
|
||||
include_directories(
|
||||
${LibCore_SOURCE_DIR}
|
||||
${LibGeometry_SOURCE_DIR}
|
||||
${LibViewing_SOURCE_DIR}
|
||||
${LibRender_SOURCE_DIR}
|
||||
${LibGuiQt_SOURCE_DIR}
|
||||
)
|
||||
|
||||
# These headers need to go through Qt's MOC compiler
|
||||
set( QOBJECT_HEADERS
|
||||
cafViewer.h
|
||||
|
||||
@@ -5,14 +5,6 @@ project (cafVizExtensions)
|
||||
# Open GL
|
||||
find_package( OpenGL )
|
||||
|
||||
include_directories(
|
||||
${LibCore_SOURCE_DIR}
|
||||
${LibGeometry_SOURCE_DIR}
|
||||
${LibGuiQt_SOURCE_DIR}
|
||||
${LibRender_SOURCE_DIR}
|
||||
${LibViewing_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_library( ${PROJECT_NAME}
|
||||
cafDisplayCoordTransform.cpp
|
||||
cafDisplayCoordTransform.h
|
||||
|
||||
Reference in New Issue
Block a user