Skip to content

Commit 2bd29d2

Browse files
committed
works with ninja
1 parent bfe3df4 commit 2bd29d2

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

cmake/BoostLib.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8)
1+
cmake_minimum_required(VERSION 3.2)
22

33
include(BoostLibInstaller)
44

cmake/BoostLibInstaller.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8)
1+
cmake_minimum_required(VERSION 3.2)
22

33
include(ExternalProject)
44
include(GetBoostLibB2Args)
@@ -123,6 +123,7 @@ function(boost_lib_installer req_boost_version req_boost_libs)
123123
CONFIGURE_COMMAND ""
124124
BUILD_COMMAND ""
125125
INSTALL_COMMAND ""
126+
BUILD_BYPRODUCTS "${lib_path}"
126127
LOG_BUILD OFF)
127128
else()
128129
message(STATUS "Setting up external project to build ${lib}.")
@@ -134,6 +135,7 @@ function(boost_lib_installer req_boost_version req_boost_libs)
134135
CONFIGURE_COMMAND ""
135136
BUILD_COMMAND "${b2_command}" "${b2Args}" --with-${lib}
136137
INSTALL_COMMAND ""
138+
BUILD_BYPRODUCTS "${lib_path}"
137139
LOG_BUILD ON)
138140
endif()
139141

cmake/DownloadBoost.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.2)
2+
13
function(download_boost version)
24
find_file(cwd DownloadBoost.cmake PATHS ${CMAKE_MODULE_PATH})
35
get_filename_component(cwd "${cwd}" DIRECTORY)

cmake/GetBoostLibB2Args.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
cmake_minimum_required(VERSION 3.2)
2+
13
function(get_boots_lib_b2_args)
24
if(MSVC)
35
if(CMAKE_CL_64 EQUAL 1)

0 commit comments

Comments
 (0)