summaryrefslogtreecommitdiffstats
path: root/cmake/modules/OpenLMIMacros.cmake
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2013-09-26 08:48:45 +0200
committerRadek Novacek <rnovacek@redhat.com>2013-09-26 09:11:59 +0200
commitd5aa7d41462f75eea4894325a203cbcb4dc1e123 (patch)
tree4cf84a4c52ad0f3b0f3972ec5e4038fac5ed00a8 /cmake/modules/OpenLMIMacros.cmake
parent19edb566554ee5bc463cd14fe7ebfd45d942fbdc (diff)
downloadopenlmi-providers-d5aa7d41462f75eea4894325a203cbcb4dc1e123.tar.gz
openlmi-providers-d5aa7d41462f75eea4894325a203cbcb4dc1e123.tar.xz
openlmi-providers-d5aa7d41462f75eea4894325a203cbcb4dc1e123.zip
cmake: search for openlmi-mof-register in the /usr/local dir
Diffstat (limited to 'cmake/modules/OpenLMIMacros.cmake')
-rw-r--r--cmake/modules/OpenLMIMacros.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/modules/OpenLMIMacros.cmake b/cmake/modules/OpenLMIMacros.cmake
index 8597495..98a9dd3 100644
--- a/cmake/modules/OpenLMIMacros.cmake
+++ b/cmake/modules/OpenLMIMacros.cmake
@@ -144,12 +144,6 @@ macro(cim_registration PROVIDER_NAME LIBRARY_NAME MOF DEST)
PATHS ${CMAKE_SOURCE_DIR}/mof/
)
- find_file(OPENLMI_MOF_REGISTER
- openlmi-mof-register
- PATHS ${CMAKE_SOURCE_DIR}
- /usr/bin
- NO_DEFAULT_PATH
- )
add_custom_target(register-${PROVIDER_NAME}
${OPENLMI_MOF_REGISTER} -v ${OPENLMI_VERSION} register ${MOF_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${REG})
add_custom_target(unregister-${PROVIDER_NAME}