File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ endif ()
4040if (LINK_STATIC)
4141 find_library (PULSAR_LIBRARY NAMES pulsarwithdeps pulsarWithDeps.lib)
4242 add_definitions ("-DPULSAR_STATIC" )
43- elseif ( NOT PULSAR_LIBRARY )
43+ else ( )
4444 find_library (PULSAR_LIBRARY NAMES pulsar libpulsar)
4545endif ()
4646message (STATUS "PULSAR_LIBRARY: ${PULSAR_LIBRARY} " )
Original file line number Diff line number Diff line change @@ -140,10 +140,7 @@ cmake -B build \
140140 -DCMAKE_OSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} \
141141 -DCMAKE_BUILD_TYPE=Release \
142142 -DCMAKE_PREFIX_PATH=$PREFIX \
143- -DCMAKE_CXX_FLAGS=-I$PREFIX /include \
144143 -DLINK_STATIC=ON \
145- -DPULSAR_LIBRARY=${ROOT_DIR} /lib/libpulsarwithdeps.a \
146- -DPULSAR_INCLUDE=${ROOT_DIR} /include \
147144 -DPython3_ROOT_DIR=$PREFIX
148145cmake --build build --config Release -j8
149146cp -f build/lib_pulsar.so .
You can’t perform that action at this time.
0 commit comments