mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Split BUILD_TESTS to BUILD_TESTS and BUILD_EXAMPLES.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@740072 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
51a5ae46b1
commit
bb9e6fe65f
@ -1,6 +1,7 @@
|
||||
project(taglib)
|
||||
|
||||
OPTION(BUILD_TESTS "Create tests and examples" OFF)
|
||||
OPTION(BUILD_TESTS "Build the test suite" OFF)
|
||||
OPTION(BUILD_EXAMPLES "Build the examples" OFF)
|
||||
|
||||
#add some KDE specific stuff
|
||||
set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)" )
|
||||
|
@ -1,4 +1,4 @@
|
||||
if(BUILD_TESTS)
|
||||
if(BUILD_EXAMPLES)
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg
|
||||
@ -73,5 +73,5 @@ TARGET_LINK_LIBRARIES(strip-id3v1 tag )
|
||||
|
||||
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/strip-id3v1 DESTINATION ${BIN_INSTALL_DIR})
|
||||
|
||||
endif(BUILD_TESTS)
|
||||
endif(BUILD_EXAMPLES)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user