mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-18 13:49:55 +01:00
Merge pull request #248 from Semphriss/patch-1
Fix interpreter CMake alias for static builds
This commit is contained in:
@ -15,7 +15,7 @@ endif()
|
|||||||
|
|
||||||
if(NOT DISABLE_STATIC)
|
if(NOT DISABLE_STATIC)
|
||||||
add_executable(sq_static sq.c)
|
add_executable(sq_static sq.c)
|
||||||
add_executable(squirrel::interpreter_static ALIAS sq)
|
add_executable(squirrel::interpreter_static ALIAS sq_static)
|
||||||
set_target_properties(sq_static PROPERTIES LINKER_LANGUAGE C EXPORT_NAME interpreter_static)
|
set_target_properties(sq_static PROPERTIES LINKER_LANGUAGE C EXPORT_NAME interpreter_static)
|
||||||
target_link_libraries(sq_static squirrel_static sqstdlib_static)
|
target_link_libraries(sq_static squirrel_static sqstdlib_static)
|
||||||
if(NOT SQ_DISABLE_INSTALLER)
|
if(NOT SQ_DISABLE_INSTALLER)
|
||||||
|
|||||||
Reference in New Issue
Block a user