mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
apply static flag for bootstrap exec, too
This is required for the Windows configuration to succeed at all. It should also be beneficial when we start sharing object code between bootstrap and actual executable.
This commit is contained in:
parent
0f1dfad91c
commit
92d5f8eae1
1 changed files with 4 additions and 4 deletions
|
@ -62,6 +62,10 @@ endif()
|
|||
add_library(libchibi-common
|
||||
INTERFACE)
|
||||
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(libchibi-common INTERFACE SEXP_STATIC_LIBRARY=1)
|
||||
endif()
|
||||
|
||||
target_include_directories(libchibi-common
|
||||
INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
|
@ -137,10 +141,6 @@ set_target_properties(libchibi-scheme
|
|||
SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR}
|
||||
VERSION ${CMAKE_PROJECT_VERSION})
|
||||
|
||||
if (NOT BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(libchibi-scheme PUBLIC SEXP_STATIC_LIBRARY=1)
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# Generate modules
|
||||
|
|
Loading…
Add table
Reference in a new issue