ADD_EXECUTABLE (test_compress test_compress.cpp)

IF (CMAKE_COMPILER_IS_GNUCXX)
  ADD_DEFINITIONS (-std=c++0x)
ELSE()
  ADD_DEFINITIONS(-DMOOR_STATIC)
ENDIF()

INCLUDE_DIRECTORIES (${CMAKE_SOURCE_DIR})
TARGET_LINK_LIBRARIES (test_compress moor_static)
TARGET_LINK_LIBRARIES (test_compress ${ADDITIONAL_LIBS})
#SET_TARGET_PROPERTIES (moor PROPERTIES SOVERSION ${SOVERSION})

add_executable(test_compress test_compress.cpp)

if(CMAKE_COMPILER_IS_GNUCXX)
  add_definitions (-std=c++0x)
else()
  add_definitions(-DMOOR_STATIC)
endif()

include_directories(${PROJECT_SOURCE_DIR})
target_link_libraries(test_compress moor_static)
target_link_libraries(test_compress ${ADDITIONAL_LIBS})
#SET_TARGET_PROPERTIES(moor PROPERTIES SOVERSION ${SOVERSION})

Fix test build when building as subproject
Fix test build when building as subproject
