diff --git a/asmjitsrc/CMakeLists.txt b/asmjitsrc/CMakeLists.txt index c07321e0fb..e2429d116b 100644 --- a/asmjitsrc/CMakeLists.txt +++ b/asmjitsrc/CMakeLists.txt @@ -3,7 +3,7 @@ set(ASMJIT_STATIC TRUE) set(ASMJIT_BUILD_X86 TRUE) set(ASMJIT_BUILD_ARM FALSE) set(ASMJIT_BUILD_TEST FALSE) -set(ASMJIT_DIR "${CMAKE_CURRENT_LIST_DIR}/../asmjit" CACHE PATH "Location of 'asmjit'") +set(ASMJIT_DIR "${CMAKE_SOURCE_DIR}/asmjit" CACHE PATH "Location of 'asmjit'") include("${ASMJIT_DIR}/CMakeLists.txt") diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 7050470f14..53178044ef 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -31,7 +31,7 @@ endif() # finds Qt libraries and setups custom commands for MOC and UIC # Must be done here because generated MOC and UIC targets cant # be found otherwise -include(../3rdparty/qt5.cmake) +include(${CMAKE_SOURCE_DIR}/3rdparty/qt5.cmake) # subdirectories add_subdirectory(Emu)