diff --git a/winpr/CMakeLists.txt b/winpr/CMakeLists.txt index d2532fc0c..e3c946ef5 100644 --- a/winpr/CMakeLists.txt +++ b/winpr/CMakeLists.txt @@ -15,6 +15,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# Include our extra modules +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/) + if (NOT FREERDP_UNIFIED_BUILD) cmake_minimum_required(VERSION 3.13) project(WinPR LANGUAGES C) @@ -112,9 +115,6 @@ include(CheckSymbolExists) include(CheckStructHasMember) include(TestBigEndian) -# Include our extra modules -set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/) - # Check for cmake compatibility (enable/disable features) include(CheckCmakeCompat) include(FindFeature)