Skip to content

Commit

Permalink
debug blst build
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Aug 29, 2024
1 parent b7edcf6 commit 8fb5592
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions cmake/blst.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
include_guard()
include(ExternalProject)

message("CMAKE_OSX_DEPLOYMENT_TARGET: ${CMAKE_OSX_DEPLOYMENT_TARGET}")
if(DEFINED CMAKE_OSX_DEPLOYMENT_TARGET)
message("defined")
endif()
if(CMAKE_OSX_DEPLOYMENT_TARGET)
message("true")
endif()

if(MSVC)
set(BLST_BUILD_SCRIPT build.bat)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
Expand All @@ -24,8 +32,8 @@ ExternalProject_Add(
BUILD_COMMAND ${BLST_BUILD_SCRIPT}
BUILD_IN_SOURCE TRUE
BUILD_BYPRODUCTS "<SOURCE_DIR>/${CMAKE_STATIC_LIBRARY_PREFIX}blst${CMAKE_STATIC_LIBRARY_SUFFIX}"
LOG_BUILD TRUE
LOG_OUTPUT_ON_FAILURE TRUE
# LOG_BUILD TRUE
# LOG_OUTPUT_ON_FAILURE TRUE
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(blst SOURCE_DIR)
Expand Down

0 comments on commit 8fb5592

Please sign in to comment.