mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2536 Build System : Add target_include_directories to clipper, exprparser, qwt
This commit is contained in:
parent
72a3b731bc
commit
4f20273e55
5
ThirdParty/Qwt/src/CMakeLists.txt
vendored
5
ThirdParty/Qwt/src/CMakeLists.txt
vendored
@ -280,3 +280,8 @@ qt4_wrap_cpp(MOC_SOURCE_FILES ${MOC_HEADER_FILES} )
|
|||||||
|
|
||||||
add_library(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SOURCE_FILES})
|
add_library(${PROJECT_NAME} ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SOURCE_FILES})
|
||||||
|
|
||||||
|
target_include_directories(${PROJECT_NAME}
|
||||||
|
PUBLIC
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
8
ThirdParty/clipper/CMakeLists.txt
vendored
8
ThirdParty/clipper/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required (VERSION 2.8)
|
cmake_minimum_required (VERSION 2.8.12)
|
||||||
|
|
||||||
project (clipper)
|
project (clipper)
|
||||||
|
|
||||||
@ -11,3 +11,9 @@ add_library(${PROJECT_NAME}
|
|||||||
${project_source_files}
|
${project_source_files}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_include_directories(${PROJECT_NAME}
|
||||||
|
PUBLIC
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
source_group("" FILES ${PROJECT_FILES})
|
||||||
|
7
ThirdParty/expressionparser/CMakeLists.txt
vendored
7
ThirdParty/expressionparser/CMakeLists.txt
vendored
@ -22,3 +22,10 @@ add_library( ${PROJECT_NAME}
|
|||||||
if(MSVC)
|
if(MSVC)
|
||||||
set_target_properties(expressionparser PROPERTIES COMPILE_FLAGS "/wd4267")
|
set_target_properties(expressionparser PROPERTIES COMPILE_FLAGS "/wd4267")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_include_directories(${PROJECT_NAME}
|
||||||
|
PUBLIC
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
source_group("" FILES ${PROJECT_FILES})
|
||||||
|
Loading…
Reference in New Issue
Block a user