mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(build): remove unneeded stuff
This commit is contained in:
parent
b4e9fc7b83
commit
7849186699
|
@ -15,10 +15,6 @@ endif()
|
||||||
|
|
||||||
set(ENV{PKG_CONFIG_PATH}
|
set(ENV{PKG_CONFIG_PATH}
|
||||||
${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig:/opt/ffmpeg/lib/pkgconfig:$ENV{PKG_CONFIG_PATH})
|
${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig:/opt/ffmpeg/lib/pkgconfig:$ENV{PKG_CONFIG_PATH})
|
||||||
set(ENV{PKG_CONFIG_PATH_i686_w64_mingw32_shared}
|
|
||||||
${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig)
|
|
||||||
set(ENV{PKG_CONFIG_PATH_x86_64_w64_mingw32_shared}
|
|
||||||
${CMAKE_SOURCE_DIR}/libs/lib/pkgconfig)
|
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND brew --prefix qt5
|
COMMAND brew --prefix qt5
|
||||||
|
|
|
@ -6,9 +6,6 @@ SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||||
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||||||
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
|
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
|
||||||
|
|
||||||
# here is the target environment located
|
|
||||||
SET(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} /usr/x86_64-w64-mingw32)
|
|
||||||
|
|
||||||
# adjust the default behaviour of the FIND_XXX() commands:
|
# adjust the default behaviour of the FIND_XXX() commands:
|
||||||
# search headers and libraries in the target environment, search
|
# search headers and libraries in the target environment, search
|
||||||
# programs in the host environment
|
# programs in the host environment
|
||||||
|
|
Loading…
Reference in New Issue
Block a user