Skip to content

Commit

Permalink
WebBridge: cmake fixes (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul authored Mar 13, 2024
1 parent 33b921c commit a539179
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions WebBridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set(PLUGIN_NAME WebBridge)
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
project(WebBridge)

cmake_minimum_required(VERSION 3.3)

find_package(WPEFramework)

project_version(1.0.0)

set(MODULE_NAME ${NAMESPACE}${PROJECT_NAME})

message("Setup ${MODULE_NAME} v${PROJECT_VERSION}")

set(PLUGIN_WEBBRIDGE_STARTUPORDER "" CACHE STRING "To configure startup order of WebBridge plugin")
if(BUILD_REFERENCE)
Expand All @@ -42,4 +51,4 @@ target_link_libraries(${MODULE_NAME}
install(TARGETS ${MODULE_NAME}
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)

write_config(${PLUGIN_NAME})
write_config()

0 comments on commit a539179

Please sign in to comment.