mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
c759a11888
- Avoid warning using newer CMake by removing obsolete cmake requirements in sub projects - Several adjustments preparing for Qt6
22 lines
376 B
CMake
22 lines
376 B
CMake
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-copy")
|
|
endif()
|
|
|
|
project (clipper)
|
|
|
|
set(project_source_files
|
|
clipper.cpp
|
|
)
|
|
|
|
add_library(${PROJECT_NAME}
|
|
STATIC
|
|
${project_source_files}
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|