From 9854f991ba3688fda179f5e15ea31e80e9945762 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Thu, 7 Apr 2016 17:18:30 -0600 Subject: [PATCH] target_link_libraries --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 989f663ef3..df48d2fa0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -326,6 +326,8 @@ IF ( COOLPROP_OBJECT_LIBRARY OR COOLPROP_STATIC_LIBRARY OR COOLPROP_SHARED_LIBRA ### All options are set, we are building a library ### ADD_DEPENDENCIES(${LIB_NAME} generate_headers) # + # Add target include directories for easy linking with other applications + target_include_directories(${LIB_NAME} PUBLIC ${APP_INCLUDE_DIRS}) # Set the bitness IF (NOT MSVC)