I am using following command to find pcre library <br><br>SET(CMAKE_LIBRARY_PATH &quot;${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib&quot;)<br>All compiled library are located in ${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib<br>
<br>find_library(PCRE_LIBRARY <br>pcre<br>PATH <br>${CMAKE_SOURCE_DIR}/lib/linux/gcc/${BIT}/lib}<br><br>But every-time it is searching at    /usr/lib/x86_64-linux-gnu/libpcre.so. How can I change order for library search path ?<br>
<br><br><br><br><br><br clear="all">regards<div>Vivek Goel</div><br>