mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
Modify the cmake prefix path
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
find_path(Neuron_INCLUDE_DIR neuron.h /usr/local/include/neuron)
|
||||
find_library(Neuron_LIBRARY NAMES neuron-base PATHS /usr/local/lib)
|
||||
|
||||
find_path(Neuron_INCLUDE_DIR neuron.h ${CMAKE_PREFIX_PATH}/include/neuron)
|
||||
find_library(Neuron_LIBRARY NAMES neuron-base PATHS ${CMAKE_PREFIX_PATH}/lib)
|
||||
if (Neuron_INCLUDE_DIR AND Neuron_LIBRARY)
|
||||
set(Neuron_FOUND TRUE)
|
||||
endif()
|
||||
Reference in New Issue
Block a user