Browse Source

C++: Modify CMakeLists to fix issue 28.

pull/567/head
Shaopeng Jia 15 years ago
committed by Mihaela Rosca
parent
commit
89afd0ce62
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpp/CMakeLists.txt

+ 1
- 1
cpp/CMakeLists.txt View File

@ -31,7 +31,7 @@ endfunction ()
function (find_required_library NAME HEADER LIBRARY DESCRIPTION)
# Check the header.
find_path (${NAME}_INCLUDE_DIR ${HEADER})
set (INCLUDE_DIR ${NAME}_INCLUDE_DIR)
set (INCLUDE_DIR ${${NAME}_INCLUDE_DIR})
if (${INCLUDE_DIR} STREQUAL "${INCLUDE_DIR}-NOTFOUND")
print_error (${DESCRIPTION} ${HEADER})


Loading…
Cancel
Save