Static shared library
This commit is contained in:
parent
ac7d7396c2
commit
2020c9548f
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@ file(GLOB BASE_SRC *.cpp)
|
||||||
file(GLOB BASE_HEADERS *.hpp)
|
file(GLOB BASE_HEADERS *.hpp)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_library(base SHARED ${BASE_SRC})
|
add_library(base STATIC ${BASE_SRC})
|
||||||
target_link_libraries(base ${Vulkan_LIBRARY} ${ASSIMP_LIBRARIES} ${WINLIBS})
|
target_link_libraries(base ${Vulkan_LIBRARY} ${ASSIMP_LIBRARIES} ${WINLIBS})
|
||||||
else(WIN32)
|
else(WIN32)
|
||||||
add_library(base SHARED ${BASE_SRC})
|
add_library(base STATIC ${BASE_SRC})
|
||||||
target_link_libraries(base ${Vulkan_LIBRARY} ${ASSIMP_LIBRARIES} ${XCB_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
target_link_libraries(base ${Vulkan_LIBRARY} ${ASSIMP_LIBRARIES} ${XCB_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue