Project

General

Profile

Bug #10949

Building examples on linux

Added by Stefan Arndt 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
09/16/2022
Due date:
% Done:

0%

Estimated time:

Description

Examples are not build under Linux unless -DINSTALL_EXAMPLES=ON is also set when configuring.

I would expect them to be build with that: cmake -S . -B build -DBUILD_EXAMPLES=ON or even cmake -S . -B build (since BUILD_EXAMPLES is on by default).
They are only build when using cmake -S . -B build -DBUILD_EXAMPLES=ON -DINSTALL_EXAMPLES=ON

Reading CMakeLists.txt:488 ff I can see the issue and I assume there have been reasons to treat the windows build differently - but that's inconvenient and reasons are not clear/documented.

Also available in: Atom PDF