mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 20:44:20 -04:00
Merge branch 'cmake-allow-BUILD_SHARED_LIBS-to-drive-ENABLE_STATIC' of https://github.com/tSed/taglib into tSed-cmake-allow-BUILD_SHARED_LIBS-to-drive-ENABLE_STATIC
# Conflicts: # CMakeLists.txt # examples/CMakeLists.txt
This commit is contained in:
@ -8,9 +8,9 @@ include_directories(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../bindings/c/
|
||||
)
|
||||
|
||||
if(ENABLE_STATIC)
|
||||
if(NOT BUILD_SHARED_LIBS)
|
||||
add_definitions(-DTAGLIB_STATIC)
|
||||
endif(ENABLE_STATIC)
|
||||
endif()
|
||||
|
||||
########### next target ###############
|
||||
|
||||
|
Reference in New Issue
Block a user