Skip to content

Commit

Permalink
Merge pull request google#209 from sergiud/cmake-icc-fix
Browse files Browse the repository at this point in the history
cmake: fixed gflags namespace detection (fixes google#193)
  • Loading branch information
shinh authored Jul 9, 2017
2 parents 905491c + d15d556 commit fd56499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DetermineGflagsNamespace.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char**argv)
"${CMAKE_BINARY_DIR}" "${_check_file}"
COMPILE_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS}" -DGFLAGS_NAMESPACE=${_namespace}
LINK_LIBRARIES "${gflags_LIBRARIES}"
CMAKE_FLAGS -DINCLUDE_DIRECTORIES:STRING="${gflags_INCLUDE_DIR}"
CMAKE_FLAGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} "-DINCLUDE_DIRECTORIES:STRING=${gflags_INCLUDE_DIR}"
OUTPUT_VARIABLE OUTPUT)

if (${VARIABLE})
Expand Down

0 comments on commit fd56499

Please sign in to comment.