Skip to content

Commit 52a8f07

Browse files
committedJul 12, 2020
fix find package warnings
1 parent 3f801f9 commit 52a8f07

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
 

‎.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ CMakeCache.txt
99
!Findhpipm.cmake
1010
!FindCppAD.cmake
1111
!FindCppADCG.cmake
12-
!Findllvm.cmake
13-
!Findclang.cmake
12+
!FindLLVM.cmake
13+
!FindClang.cmake
1414
!ct_core/cmake/ct_coreConfig.cmake
1515
!ct_optcon/cmake/ct_optconConfig.cmake
1616
!ct_rbd/cmake/ct_rbdConfig.cmake

‎ct_core/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ find_package(Eigen3 REQUIRED)
2121
find_package(Boost COMPONENTS REQUIRED)
2222

2323
## find and include optional dependencies
24-
find_package(llvm QUIET)
25-
find_package(clang QUIET)
24+
find_package(LLVM QUIET)
25+
find_package(Clang QUIET)
2626
if(LLVM_FOUND AND CLANG_FOUND)
2727
message(STATUS "Found LLVM/CLANG version " ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR})
2828
set (LLVM ON)

‎ct_core/cmake/Findclang.cmake ‎ct_core/cmake/FindClang.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ FIND_PATH(CLANG_INCLUDE_DIRS clang/Basic/Version.h HINTS ${LLVM_INCLUDE_DIRS})
4444
INCLUDE(FindPackageHandleStandardArgs)
4545
# handle the QUIETLY and REQUIRED arguments and set CLANG_FOUND to TRUE
4646
# if all listed variables are TRUE
47-
find_package_handle_standard_args(CLANG DEFAULT_MSG
47+
find_package_handle_standard_args(Clang DEFAULT_MSG
4848
CLANG_INCLUDE_DIRS
4949
CLANG_LIBS)
5050

51-
MARK_AS_ADVANCED(CLANG_INCLUDE_DIRS CLANG_LIBS)
51+
MARK_AS_ADVANCED(CLANG_INCLUDE_DIRS CLANG_LIBS)

‎ct_core/cmake/FindCppADCG.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ELSE()
3838
INCLUDE(FindPackageHandleStandardArgs)
3939
# handle the QUIETLY and REQUIRED arguments and set CPPADCG_FOUND to TRUE
4040
# if all listed variables are TRUE
41-
find_package_handle_standard_args(CppAD DEFAULT_MSG
41+
find_package_handle_standard_args(CppADCG DEFAULT_MSG
4242
CPPADCG_INCLUDE_DIRS)
4343

4444
MARK_AS_ADVANCED(CPPADCG_INCLUDE_DIRS CPPADCG_LIBRARIES)
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.