1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

do not export cmake project in case of static tonlibjson

This commit is contained in:
Marat S 2025-02-22 00:05:31 +00:00
parent be2d128f59
commit c89810cc5c

View file

@ -159,7 +159,7 @@ endif()
install(FILES ${TONLIB_JSON_HEADERS} ${CMAKE_CURRENT_BINARY_DIR}/tonlib/tonlibjson_export.h DESTINATION include/tonlib/)
if (NOT USE_EMSCRIPTEN)
if (NOT USE_EMSCRIPTEN AND NOT TONLIBJSON_STATIC)
install(EXPORT Tonlib
FILE TonlibTargets.cmake
NAMESPACE Tonlib::