mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	 3a33ae8601
			
		
	
	
	3a33ae8601
	
	
	
		
			
			use pkg-config to find pcre2, if possible rename PCRE_INCLUDES to use PKG_CHECK_MODULES naming, PCRE_INCLUDE_DIRS
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			563 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			563 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 
 | |
| INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include
 | |
|                     ${CMAKE_SOURCE_DIR}/libmysqld/include
 | |
|                     ${PCRE_INCLUDE_DIRS}
 | |
|                     ${CMAKE_SOURCE_DIR}/sql
 | |
|                     ${MY_READLINE_INCLUDE_DIR}
 | |
|                     )
 | |
| 
 | |
| 
 | |
| ADD_DEFINITIONS(-DEMBEDDED_LIBRARY -UMYSQL_CLIENT)
 | |
| 
 | |
| 
 | |
| MYSQL_ADD_EXECUTABLE(test-connect-t test-connect.cc
 | |
|                COMPONENT Test)
 | |
| TARGET_LINK_LIBRARIES(test-connect-t mysqlserver )
 | |
| MY_ADD_TEST(test-connect)
 | |
| 
 | |
| IF(UNIX)
 | |
| SET_TARGET_PROPERTIES(test-connect-t PROPERTIES ENABLE_EXPORTS TRUE)
 | |
| ENDIF()
 |