diff options
Diffstat (limited to 'dbug/CMakeLists.txt')
-rwxr-xr-x | dbug/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbug/CMakeLists.txt b/dbug/CMakeLists.txt index fabb592dccc..00de8ba11ff 100755 --- a/dbug/CMakeLists.txt +++ b/dbug/CMakeLists.txt @@ -13,11 +13,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/dbug) - -SET(DBUG_SOURCES dbug.c factorial.c sanity.c) - -IF(NOT SOURCE_SUBLIBS) - INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) - ADD_LIBRARY(dbug ${DBUG_SOURCES}) -ENDIF(NOT SOURCE_SUBLIBS) +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR}/dbug + ${CMAKE_SOURCE_DIR}/include +) +SET(DBUG_SOURCES dbug.c sanity.c) +USE_ABSOLUTE_FILENAMES(DBUG_SOURCES) +ADD_LIBRARY(dbug ${DBUG_SOURCES}) +TARGET_LINK_LIBRARIES(dbug mysys) |