Skip to content

Commit

Permalink
Try setting specific output directory for static libs
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed Oct 30, 2024
1 parent 329d2de commit ba55655
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)


IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "RELEASE")
ENDIF()
Expand Down Expand Up @@ -125,6 +126,7 @@ FetchContent_Declare(
GIT_REPOSITORY https://github.com/BLAKE3-team/BLAKE3.git
GIT_TAG 1.5.0
)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/lib>")

FetchContent_GetProperties(blake3)
if(NOT blake3_POPULATED)
Expand Down

0 comments on commit ba55655

Please sign in to comment.