]> git.lyx.org Git - lyx.git/blobdiff - src/support/tests/CMakeLists.txt
Cmake build: Added magic library to some link commands.
[lyx.git] / src / support / tests / CMakeLists.txt
index eac5aa79f23b1e254f431c966296a46ef1e51029..ed4f9bb25d9c5aa2578372c7e3a56811b9ddd452 100644 (file)
@@ -15,7 +15,7 @@ macro(sources _program)
        add_executable(${_program} ${_tmplist})
        target_link_libraries(${_program} support
                ${Lyx_Boost_Libraries} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY}
-               ${ZLIB_LIBRARY} ${ICONV_LIBRARY})
+               ${ZLIB_LIBRARY} ${ICONV_LIBRARY} ${Magic_LIBRARY})
 endmacro()
 
 file(GLOB test_sources ${TOP_SRC_DIR}/src/support/tests/${LYX_CPP_FILES})