mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 04:07:49 +08:00
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0d102ab..5d918b8 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -36,7 +36,7 @@ cmake_minimum_required(VERSION 3.5)
|
|
add_library(blaze INTERFACE)
|
|
target_include_directories(blaze INTERFACE
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
|
|
- $<INSTALL_INTERFACE:install>
|
|
+ $<INSTALL_INTERFACE:include>
|
|
)
|
|
|
|
target_compile_options(blaze INTERFACE
|
|
@@ -48,8 +48,8 @@ target_compile_options(blaze INTERFACE
|
|
#==================================================================================================
|
|
|
|
find_package(LAPACK REQUIRED)
|
|
-target_link_libraries(blaze INTERFACE ${LAPACK_LIBRARIES})
|
|
-target_compile_options(blaze INTERFACE ${LAPACK_LINKER_FLAGS})
|
|
+target_link_libraries(blaze INTERFACE $<BUILD_INTERFACE:${LAPACK_LIBRARIES}>)
|
|
+target_compile_options(blaze INTERFACE $<BUILD_INTERFACE:${LAPACK_LINKER_FLAGS}>)
|
|
|
|
|
|
#==================================================================================================
|
|
@@ -57,7 +57,7 @@ target_compile_options(blaze INTERFACE ${LAPACK_LINKER_FLAGS})
|
|
#==================================================================================================
|
|
|
|
find_package(Boost 1.54.0 REQUIRED)
|
|
-target_include_directories(blaze INTERFACE ${Boost_INCLUDE_DIRS})
|
|
+target_include_directories(blaze INTERFACE $<BUILD_INTERFACE:${Boost_INCLUDE_DIRS}>)
|
|
|
|
|
|
#==================================================================================================
|