diff --git a/trunk/libxmount_input/libxmount_input_ewf/CMakeLists.txt b/trunk/libxmount_input/libxmount_input_ewf/CMakeLists.txt index 9e12de0..7562000 100644 --- a/trunk/libxmount_input/libxmount_input_ewf/CMakeLists.txt +++ b/trunk/libxmount_input/libxmount_input_ewf/CMakeLists.txt @@ -1,28 +1,28 @@ if(POLICY CMP0042) cmake_policy(SET CMP0042 NEW) # CMake 3.0 endif(POLICY CMP0042) project(libxmount_input_ewf C) -add_library(xmount_input_ewf SHARED libxmount_input_ewf.c) +add_library(xmount_input_ewf SHARED libxmount_input_ewf.c ../../libxmount/libxmount.c) if(NOT STATIC_EWF) include_directories(${LIBEWF_INCLUDE_DIRS}) set(LIBS ${LIBS} ${LIBEWF_LIBRARIES}) else(NOT STATIC_EWF) add_definitions(-DHAVE_LIBEWF_STATIC) include_directories(${CMAKE_CURRENT_SOURCE_DIR}/libewf/include) set(LIBS ${LIBS} ${CMAKE_CURRENT_SOURCE_DIR}/libewf/libewf/.libs/libewf.a) if(NOT APPLE) set(LIBS ${LIBS} "-lz") else(NOT APPLE) # As most of libewf's deps on OSx come from MacPorts, better link in # everything statically set(LIBS ${LIBS} "/opt/local/lib/libz.a") endif(NOT APPLE) endif(NOT STATIC_EWF) target_link_libraries(xmount_input_ewf ${LIBS}) install(TARGETS xmount_input_ewf DESTINATION lib/xmount)