Browse Source

Merge pull request #248 from Semphriss/patch-1

Fix interpreter CMake alias for static builds
Alberto Demichelis 3 years ago
parent
commit
9a659f3f68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sq/CMakeLists.txt

+ 1 - 1
sq/CMakeLists.txt

@@ -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)