build: reduce warnings from Phoenix cmake module
This commit is contained in:
parent
6ea2d4325e
commit
6c87791b95
@ -9,8 +9,8 @@
|
|||||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||||
|
|
||||||
if (NOT PHOENIX_DIR)
|
if (NOT PHOENIX_DIR)
|
||||||
message(WARNING "PHOENIX: WARNING: PHOENIX_DIR not set, set to dir SDKX.XX where X.XX is the version")
|
set (PHOENIX_DIR "C:/Program Files (x86)/Active Silicon/Phoenix/Win/SDK6.30" CACHE PATH "Directory containing Phoenix SDK includes and libraries")
|
||||||
endif (NOT PHOENIX_DIR)
|
endif ()
|
||||||
|
|
||||||
find_path(PHOENIX_INCLUDE_DIR phx_api.h
|
find_path(PHOENIX_INCLUDE_DIR phx_api.h
|
||||||
PATHS
|
PATHS
|
||||||
@ -29,9 +29,5 @@ else ()
|
|||||||
DOC "PHOENIX library to link with")
|
DOC "PHOENIX library to link with")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT PHOENIX_INCLUDE_DIR)
|
|
||||||
message(WARNING "PHOENIX: WARNING: not found, make sure PHOENIX_DIR is set to dir SDKX.XX")
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(PHOENIX DEFAULT_MSG PHOENIX_INCLUDE_DIR PHOENIX_LIBRARIES)
|
find_package_handle_standard_args(PHOENIX DEFAULT_MSG PHOENIX_INCLUDE_DIR PHOENIX_LIBRARIES)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user