Skip to content

Commit

Permalink
Merge pull request #4258 from Sonicadvance1/libraries
Browse files Browse the repository at this point in the history
cmake: Adds some missing STATIC qualifiers
  • Loading branch information
lioncash authored Jan 8, 2025
2 parents de431f1 + 34e265a commit 2293d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion External/tiny-json/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
set(NAME tiny-json)
set(SRCS tiny-json.c)
add_library(${NAME} ${SRCS})
add_library(${NAME} STATIC ${SRCS})
2 changes: 1 addition & 1 deletion ThunkLibs/Generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (NOT CLANG_RESOURCE_DIR)
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()

add_library(thunkgenlib analysis.cpp data_layout.cpp gen.cpp)
add_library(thunkgenlib STATIC analysis.cpp data_layout.cpp gen.cpp)
target_include_directories(thunkgenlib INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(thunkgenlib SYSTEM PUBLIC ${CLANG_INCLUDE_DIRS})
target_link_libraries(thunkgenlib PUBLIC clang-cpp LLVM)
Expand Down

0 comments on commit 2293d30

Please sign in to comment.