mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2536 Build System : Remove obsolete code for cmake older than "2.8.2"
This commit is contained in:
@@ -1,25 +1,20 @@
|
||||
|
||||
# Use this workaround until we're on 2.8.3 on all platforms and can use CMAKE_CURRENT_LIST_DIR directly
|
||||
if (${CMAKE_VERSION} VERSION_GREATER "2.8.2")
|
||||
set(CEE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_DIR}/)
|
||||
endif()
|
||||
|
||||
set (SOURCE_GROUP_HEADER_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RicAppendIntersectionFeature.h
|
||||
${CEE_CURRENT_LIST_DIR}RicNewSimWellIntersectionFeature.h
|
||||
${CEE_CURRENT_LIST_DIR}RicNewWellPathIntersectionFeature.h
|
||||
${CEE_CURRENT_LIST_DIR}RicNewPolylineIntersectionFeature.h
|
||||
${CEE_CURRENT_LIST_DIR}RicNewAzimuthDipIntersectionFeature.h
|
||||
${CEE_CURRENT_LIST_DIR}RicCopyIntersectionsToAllViewsInCaseFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicAppendIntersectionFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewSimWellIntersectionFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellPathIntersectionFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewPolylineIntersectionFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewAzimuthDipIntersectionFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicCopyIntersectionsToAllViewsInCaseFeature.h
|
||||
)
|
||||
|
||||
set (SOURCE_GROUP_SOURCE_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RicAppendIntersectionFeature.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicNewSimWellIntersectionFeature.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicNewWellPathIntersectionFeature.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicNewPolylineIntersectionFeature.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicNewAzimuthDipIntersectionFeature.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicCopyIntersectionsToAllViewsInCaseFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicAppendIntersectionFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewSimWellIntersectionFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellPathIntersectionFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewPolylineIntersectionFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewAzimuthDipIntersectionFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicCopyIntersectionsToAllViewsInCaseFeature.cpp
|
||||
)
|
||||
|
||||
list(APPEND CODE_HEADER_FILES
|
||||
@@ -30,4 +25,4 @@ list(APPEND CODE_SOURCE_FILES
|
||||
${SOURCE_GROUP_SOURCE_FILES}
|
||||
)
|
||||
|
||||
source_group( "CommandFeature\\CrossSection" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CEE_CURRENT_LIST_DIR}CMakeLists_files.cmake )
|
||||
source_group( "CommandFeature\\CrossSection" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CMAKE_CURRENT_LIST_DIR}/CMakeLists_files.cmake )
|
||||
|
||||
Reference in New Issue
Block a user