Fix cmake dependency
[src/app-framework-binder.git] / CMakeLists.txt
index c5a1e7e..c3fa0e2 100644 (file)
@@ -35,6 +35,7 @@ INCLUDE(FindPkgConfig)
 INCLUDE(CheckIncludeFiles)
 INCLUDE(CheckLibraryExists)
 INCLUDE(GNUInstallDirs)
+INCLUDE(CTest)
 
 ###########################################################################
 
@@ -68,9 +69,8 @@ SET(include_dirs
        )
 
 SET(link_libraries
-       ${libefence_LIBRARIES}
        ${CMAKE_THREAD_LIBS_INIT}
-       ${json-c_LIBRARIES}
+       ${json-c_LDFLAGS}
        )
 
 SET(binding_install_dir ${CMAKE_INSTALL_FULL_LIBDIR}/afb)