Link Here
|
33 |
set(IODBC_LIBRARIES "iodbcinst") |
33 |
set(IODBC_LIBRARIES "iodbcinst") |
34 |
endif () |
34 |
endif () |
35 |
endif () |
35 |
endif () |
36 |
set(IODBC_INCLUDE_DIRS "") |
36 |
STRING(REGEX REPLACE "^-I" "" IODBC_INCLUDE_DIRS ${IODBC_DEFINITIONS}) |
37 |
endif (IODBC_PATH) |
37 |
endif (IODBC_PATH) |
38 |
|
38 |
|
39 |
include(FindPackageHandleStandardArgs) |
39 |
include(FindPackageHandleStandardArgs) |
40 |
find_package_handle_standard_args(IODBC DEFAULT_MSG |
40 |
find_package_handle_standard_args(IODBC DEFAULT_MSG |
41 |
IODBC_PATH IODBC_LIBRARIES |
41 |
IODBC_PATH IODBC_LIBRARIES IODBC_INCLUDE_DIRS |
42 |
) |
42 |
) |
43 |
|
43 |
|
44 |
mark_as_advanced( |
44 |
mark_as_advanced( |
45 |
IODBC_LIB |
45 |
IODBC_LIB |