diff --git a/cmake/modules/FindPhoenix.cmake b/cmake/modules/FindPhoenix.cmake index 1ceeba9..46ffa7b 100644 --- a/cmake/modules/FindPhoenix.cmake +++ b/cmake/modules/FindPhoenix.cmake @@ -9,8 +9,8 @@ # For details see the accompanying COPYING-CMAKE-SCRIPTS file. if (NOT PHOENIX_DIR) - message(WARNING "PHOENIX: WARNING: PHOENIX_DIR not set, set to dir SDKX.XX where X.XX is the version") -endif (NOT PHOENIX_DIR) + set (PHOENIX_DIR "C:/Program Files (x86)/Active Silicon/Phoenix/Win/SDK6.30" CACHE PATH "Directory containing Phoenix SDK includes and libraries") +endif () find_path(PHOENIX_INCLUDE_DIR phx_api.h PATHS @@ -29,9 +29,5 @@ else () DOC "PHOENIX library to link with") 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) -find_package_handle_standard_args(PHOENIX DEFAULT_MSG PHOENIX_INCLUDE_DIR PHOENIX_LIBRARIES) \ No newline at end of file +find_package_handle_standard_args(PHOENIX DEFAULT_MSG PHOENIX_INCLUDE_DIR PHOENIX_LIBRARIES)