Commit 828e2cf9 authored by djk032's avatar djk032

fixed bug for testing if log4cpp is found

parent f79bfff7
......@@ -31,10 +31,10 @@ find_library(CONFIG++_LIBRARY NAMES libconfig++.a PATH /usr/lib/)
#-----------------------------------------------------------------------------------
find_library(LOG4CPP_LIBRARY NAMES liblog4cpp.a PATH /usr/lib/)
if (LOG4CPP_LIBRARY-FOUND)
if (LOG4CPP_LIBRARY)
set(log4cpp_lib "${LOG4CPP_LIBRARY}")
else()
set(log4cpp_lib)
set(log4cpp_lib)
endif()
#----------------------------------------------------------------------------------
......@@ -87,3 +87,4 @@ target_link_libraries(prosim optimized
libserial)
install(TARGETS prosim DESTINATION ${Pulse_INSTALL}/bin)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment