Skip to content

Commit 8fb5592

Browse files
committed
debug blst build
1 parent b7edcf6 commit 8fb5592

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cmake/blst.cmake

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
include_guard()
22
include(ExternalProject)
33

4+
message("CMAKE_OSX_DEPLOYMENT_TARGET: ${CMAKE_OSX_DEPLOYMENT_TARGET}")
5+
if(DEFINED CMAKE_OSX_DEPLOYMENT_TARGET)
6+
message("defined")
7+
endif()
8+
if(CMAKE_OSX_DEPLOYMENT_TARGET)
9+
message("true")
10+
endif()
11+
412
if(MSVC)
513
set(BLST_BUILD_SCRIPT build.bat)
614
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
@@ -24,8 +32,8 @@ ExternalProject_Add(
2432
BUILD_COMMAND ${BLST_BUILD_SCRIPT}
2533
BUILD_IN_SOURCE TRUE
2634
BUILD_BYPRODUCTS "<SOURCE_DIR>/${CMAKE_STATIC_LIBRARY_PREFIX}blst${CMAKE_STATIC_LIBRARY_SUFFIX}"
27-
LOG_BUILD TRUE
28-
LOG_OUTPUT_ON_FAILURE TRUE
35+
# LOG_BUILD TRUE
36+
# LOG_OUTPUT_ON_FAILURE TRUE
2937
INSTALL_COMMAND ""
3038
)
3139
ExternalProject_Get_Property(blst SOURCE_DIR)

0 commit comments

Comments
 (0)