Skip to content

cmake: update initialization#15101

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:cmake_initialization
Aug 14, 2019
Merged

cmake: update initialization#15101
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:cmake_initialization

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Jul 19, 2019

opencv_contrib=cmake_tesseract_cxx11_check


# Making definitions available to other configurations and
# to filter dependency restrictions at compile time.
if(CMAKE_SYSTEM_NAME MATCHES WindowsPhone)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In light of previous discussion (#15059 (comment)), this should be changed to use the WINDOWS_STORE and WINDOWS_PHONE variables instead. https://cmake.org/cmake/help/latest/variable/WINDOWS_STORE.html https://cmake.org/cmake/help/latest/variable/WINDOWS_PHONE.html
These are set to true if the CMAKE_SYSTEM_NAME matches the specific system and available after project()

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Aug 14, 2019

👍

@opencv-pushbot opencv-pushbot merged commit 5ef548a into opencv:3.4 Aug 14, 2019
@alalek alalek mentioned this pull request Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants