Merge pull request #3087 from akva2/small_buildsys_fixes
Small buildsystem fixes
This commit is contained in:
commit
26886bf4fa
@ -184,7 +184,7 @@ if (OPM_ENABLE_PYTHON)
|
|||||||
endif()
|
endif()
|
||||||
set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})
|
set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE})
|
||||||
set(Python3_LIBRARIES ${PYTHON_LIBRARIES})
|
set(Python3_LIBRARIES ${PYTHON_LIBRARIES})
|
||||||
set(Python3_VERSION "${PYTHON_VERSION_STRING}"})
|
set(Python3_VERSION "${PYTHON_VERSION_STRING}")
|
||||||
set(Python3_VERSION_MINOR ${PYTHON_VERSION_MINOR})
|
set(Python3_VERSION_MINOR ${PYTHON_VERSION_MINOR})
|
||||||
else()
|
else()
|
||||||
# Be backwards compatible.
|
# Be backwards compatible.
|
||||||
|
@ -3,13 +3,10 @@
|
|||||||
# This module defines:
|
# This module defines:
|
||||||
# VALGRIND_INCLUDE_DIR, where to find valgrind/memcheck.h, etc.
|
# VALGRIND_INCLUDE_DIR, where to find valgrind/memcheck.h, etc.
|
||||||
# VALGRIND_PROGRAM, the valgrind executable.
|
# VALGRIND_PROGRAM, the valgrind executable.
|
||||||
# VALGRIND_FOUND, If false, do not try to use valgrind.
|
# Valgrind_FOUND, If false, do not try to use valgrind.
|
||||||
#
|
#
|
||||||
# If you have valgrind installed in a non-standard place, you can define
|
# If you have valgrind installed in a non-standard place, you can define
|
||||||
# VALGRIND_ROOT to tell cmake where it is.
|
# VALGRIND_ROOT to tell cmake where it is.
|
||||||
if (VALGRIND_FOUND)
|
|
||||||
return()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
find_path(VALGRIND_INCLUDE_DIR valgrind/memcheck.h
|
find_path(VALGRIND_INCLUDE_DIR valgrind/memcheck.h
|
||||||
/usr/include /usr/local/include ${VALGRIND_ROOT}/include)
|
/usr/include /usr/local/include ${VALGRIND_ROOT}/include)
|
||||||
@ -18,7 +15,7 @@ find_path(VALGRIND_INCLUDE_DIR valgrind/memcheck.h
|
|||||||
# path, but this does not hurt...
|
# path, but this does not hurt...
|
||||||
find_program(VALGRIND_PROGRAM NAMES valgrind PATH ${VALGRIND_ROOT}/bin)
|
find_program(VALGRIND_PROGRAM NAMES valgrind PATH ${VALGRIND_ROOT}/bin)
|
||||||
|
|
||||||
find_package_handle_standard_args(VALGRIND DEFAULT_MSG
|
find_package_handle_standard_args(Valgrind DEFAULT_MSG
|
||||||
VALGRIND_INCLUDE_DIR
|
VALGRIND_INCLUDE_DIR
|
||||||
VALGRIND_PROGRAM)
|
VALGRIND_PROGRAM)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user