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 app libraries
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
project (ResultStatisticsCache)
|
||||
|
||||
@@ -15,4 +15,11 @@ add_library( ${PROJECT_NAME}
|
||||
RigStatisticsMath.cpp
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME}
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} LibCore)
|
||||
|
||||
source_group("" FILES ${PROJECT_FILES})
|
||||
|
||||
Reference in New Issue
Block a user